Skip to content
1 min read · 71 words

Variable: openAIResponsesOptionsSchema

ts
const openAIResponsesOptionsSchema: ObjectSchema<OpenAIResponsesAdapterOptions>;

Defined in: src/batteries/llm/openai_responses/validation.ts:184

Validator schema for OpenAIResponsesAdapterOptions.

Remarks

Used by validateOptions at construction time and again at the start of every iteration after options have been merged (stash > executor > constructor). Rejects unknown top-level keys so typos, removed fields, and every server-side-conversation-state key (previous_response_id/conversation/prompt/context_management) fail loud — as does instructions/store, which are simply not part of this options interface at all (see the module remarks above).