An OpenAI-compatible chat completions URL — your own server or proxy, so API keys never
reach the browser (e.g. /api/assistant, which adds the key and forwards).
OptionalfetchFor tests / custom transports. Default: the global fetch.
Optionalinit: RequestInitOptionalinit: RequestInitOptionalheadersExtra request headers (e.g. your app's session token).
OptionalinstructionsExtra instructions after the built-in ones (house style, language…).
OptionalmodelModel name sent as model (your endpoint may ignore it).
Options of createChatAssistant.