OpenAIProviderOptions
type OpenAIProviderOptions = object;Options for OpenAIProvider.
Properties
Section titled “Properties”apiKey?
Section titled “apiKey?”apiKey?: string;baseURL?
Section titled “baseURL?”baseURL?: string;cacheResponsesWebSocketModels?
Section titled “cacheResponsesWebSocketModels?”cacheResponsesWebSocketModels?: boolean;openAIClient?
Section titled “openAIClient?”openAIClient?: OpenAIClient;organization?
Section titled “organization?”organization?: string;project?
Section titled “project?”project?: string;responsesWebSocketOptions?
Section titled “responsesWebSocketOptions?”responsesWebSocketOptions?: OpenAIResponsesWebSocketOptions;strictFeatureValidation?
Section titled “strictFeatureValidation?”strictFeatureValidation?: boolean;When false, Chat Completions models warn and ignore Responses-only features such as previousResponseId, conversationId, and prompt. When true, they raise UserError instead.
useResponses?
Section titled “useResponses?”useResponses?: boolean;useResponsesWebSocket?
Section titled “useResponsesWebSocket?”useResponsesWebSocket?: boolean;websocketBaseURL?
Section titled “websocketBaseURL?”websocketBaseURL?: string;