Files
cc-switch/docs
funkpopo a94f997f1e fix(codex): honor configured GPT context windows (#8385)
Explicit provider-scoped or per-model context windows now apply to mirrored official GPT catalog entries (context_window and max_context_window), with the auto-compact limit kept in sync; official defaults remain when nothing is configured. Gemini input-overflow errors on the Codex Chat path are normalized to context_length_exceeded and returned as a response.failed stream so Codex can compact, and non-string SSE error codes are stringified so upstream messages survive.

Fixes #8366
2026-10-19 16:24:54 +08:00
..