Skip to content
1 min read · 42 words

Variable: E_INVALID_OPENAI_GENERATION_OPTIONS

ts
const E_INVALID_OPENAI_GENERATION_OPTIONS: CreatedException<[string]>;

Defined in: src/batteries/generation/openai/exceptions.ts:22

Thrown when the resolved adapter options fail validation against openAIGenerationOptionsSchema — e.g. a missing/empty model, an unknown option key, or an invalid enum value. Fatal: config bugs fail loud at construction time, not at generate/edit time.