mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-16 13:03:31 +08:00
ChatGPT Official runs through Codex OAuth, so context accounting should follow the Codex model catalog and its effective context window instead of public API limits. This keeps GPT-5.5 at the same usable window shown by Codex while preserving GPT-5.4's larger Codex window. Constraint: Codex OAuth model metadata applies effective_context_window_percent to raw catalog windows Rejected: Use public API GPT-5.5 1.05M context | Codex app and OAuth runtime clamp this model to the smaller effective window Confidence: high Scope-risk: narrow Directive: Keep ChatGPT Official context values aligned to Codex model catalog behavior, not generic OpenAI API docs Tested: bun test src/services/openaiAuth/models.test.ts src/services/compact/autoCompact.test.ts src/server/__tests__/providers.test.ts Tested: bun run check:server Tested: git diff --check Not-tested: Manual desktop screenshot after rebuilding the app