Variable: E_OPENAI_CHAT_COMPLETIONS_CONTEXT_OVERFLOW
ts
const E_OPENAI_CHAT_COMPLETIONS_CONTEXT_OVERFLOW: CreatedException<
[number, number, string, string]
>;Defined in: src/batteries/llm/openai_chat_completions/exceptions.ts:31
Thrown when the total token weight of the resolved request exceeds contextWindow. Only raised when tokenEncoding is non-null. Carries { total, contextWindow, tokenEncoding, perBucket } in the message so middleware can target shedding.