The version for the api. If true is provided the global OpenAI version will be used.
OptionaldeploymentOptional deployment name for Azure OpenAI.
OptionaldeveloperConfigures how system messages are handled. 'user' | 'system' | 'developer' use that role for
the system message; 'mergeWithFollowingUserMessage' prepends the system message to the next
user message (creating one when needed); 'skip' removes system messages. Defaults from the
model id when unset (typically 'developer').
OptionalenableIndicate whether the streaming API shall be used. Defaults from the model id when unset.
The identifier of the model which will be shown in the UI.
Maximum number of retry attempts when a request fails. Default is 3.
The model ID as used by the OpenAI API.
OptionalreasoningWhen set, the UI exposes a reasoning selector. Defaults from the model id when unset.
OptionalsupportsWhether the model supports structured output (response_format JSON schemas). Defaults from the model id when unset.
OptionalurlThe OpenAI API compatible endpoint where the model is hosted. If not provided the default OpenAI endpoint will be used.
OptionaluseUse the newer OpenAI Response API instead of the Chat Completion API. Default is false.
The key for the model. If
trueis provided the global OpenAI API key will be used.