Skip to content
1 min read · 29 words

Variable: E_OPENAI_CHAT_COMPLETIONS_HTTP_ERROR ​

ts
const E_OPENAI_CHAT_COMPLETIONS_HTTP_ERROR: CreatedException<[number, string]>;

Defined in: src/batteries/llm/openai_chat_completions/exceptions.ts:45

Thrown when the upstream Chat Completions endpoint returns a non-2xx response. Non-fatal — surfaced via ctx.nack(...) so middleware can decide retry / fail.