OpenAIProviderOptions
type OpenAIProviderOptions = object;Options for OpenAIProvider.
Properties
Section titled “Properties”apiKey?
Section titled “apiKey?”optional apiKey?: string;baseURL?
Section titled “baseURL?”optional baseURL?: string;cacheResponsesWebSocketModels?
Section titled “cacheResponsesWebSocketModels?”optional cacheResponsesWebSocketModels?: boolean;openAIClient?
Section titled “openAIClient?”optional openAIClient?: OpenAI;organization?
Section titled “organization?”optional organization?: string;project?
Section titled “project?”optional project?: string;responsesWebSocketOptions?
Section titled “responsesWebSocketOptions?”optional responsesWebSocketOptions?: OpenAIResponsesWebSocketOptions;strictFeatureValidation?
Section titled “strictFeatureValidation?”optional 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?”optional useResponses?: boolean;useResponsesWebSocket?
Section titled “useResponsesWebSocket?”optional useResponsesWebSocket?: boolean;websocketBaseURL?
Section titled “websocketBaseURL?”optional websocketBaseURL?: string;