buildOpenAIResponsesProviderOptions
function buildOpenAIResponsesProviderOptions(opts, sessionId): Record<string, unknown> | null;Build the provider-options bag for an OpenAI Responses model call. Returns null when the options compile to nothing (caller can skip merging entirely). The session id is required for the cache-key branch but ignored otherwise.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
|
Returns
Section titled “Returns”Record<string, unknown> | null