Repository navigation
Add gpt-5.5 model overlay alongside gpt-5.4 - #1175
dislovelhl wants to merge 1 commit into
Conversation
Additive change so existing gpt-5.4 users are unaffected.
- model-overlays/gpt-5.5.md: inherits from gpt.md via {{INHERIT:gpt}};
no 5.5-specific patches yet, placeholder note explains the convention.
- scripts/models.ts: 'gpt-5.5' added to ALL_MODEL_NAMES (above 5.4 to keep
newer-first ordering); /^gpt-5\.5(-|$)/ family heuristic added before
the 5.4 case so gpt-5.5-mini / gpt-5.5-turbo resolve correctly.
- test/helpers/pricing.ts: TODO note above the OpenAI block. Pricing
intentionally NOT pre-filled — estimateCostUsd's warn-once-and-return-0
path is louder in benchmark reports than a placeholder that quietly
ships wrong numbers. Add real pricing rows when 5.5 launches.
Verified locally:
- 11 resolveModel cases pass (5.5/5.5-mini/5.5-turbo, 5.4 unchanged,
gpt-4o catch-all, claude/o-series/gemini families, unknown→null)
- generateModelOverlay({model:'gpt-5.5'}) inherits gpt.md correctly
(Completion bias / No preamble / AskUserQuestion-NOT-preamble all present)
- bun test test/helpers/ test/benchmark-runner.test.ts: 73 pass / 0 fail
There was a problem hiding this comment.
Pull request overview
Adds support for a new gpt-5.5 model family in the model overlay + model-resolution pipeline while keeping gpt-5.4 behavior unchanged.
Changes:
- Adds
gpt-5.5to the known model families list and resolvesgpt-5.5-*variants to thegpt-5.5family. - Introduces a new
model-overlays/gpt-5.5.mdoverlay inheriting from the basegptoverlay. - Adds an explicit TODO note in the pricing table indicating
gpt-5.5pricing is intentionally not yet populated (warn-once + return-0 behavior).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| model-overlays/gpt-5.5.md | New overlay inheriting from gpt with a placeholder note for future 5.5-specific patches. |
| scripts/models.ts | Registers gpt-5.5 and adds a resolver heuristic for gpt-5.5-* variants. |
| test/helpers/pricing.ts | Adds a TODO comment explaining intentional absence of gpt-5.5 pricing rows. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| // TODO: gpt-5.5 / gpt-5.5-mini — confirm pricing at launch and add rows here. | ||
| // Until then, estimateCostUsd will warn-once and return 0 for those models, | ||
| // which is intentional: 0 in a benchmark report is louder than a placeholder | ||
| // that quietly ships wrong numbers. |
There was a problem hiding this comment.
The TODO only calls out gpt-5.5 and gpt-5.5-mini, but resolveModel (and likely benchmark adapters) can produce other 5.5 variants (e.g. gpt-5.5-turbo, gpt-5.5-*) that will also hit the missing-pricing path. Consider broadening the TODO wording to cover all gpt-5.5* variants to avoid implying only these two SKUs are affected.
|
Closing — |
Summary
Additive change so existing
gpt-5.4users are unaffected. Addsgpt-5.5as a recognized model family with its own overlay file inheriting fromgpt.md.Changes
model-overlays/gpt-5.5.md(new) —{{INHERIT:gpt}}plus a placeholder note. No 5.5-specific behavioral patches yet — same convention as howgpt-5.4.mdstarted before its anti-verbosity protocol was added.scripts/models.ts—'gpt-5.5'added toALL_MODEL_NAMES(above 5.4 to preserve newer-first ordering);/^gpt-5\.5(-|$)/family heuristic added before the 5.4 branch sogpt-5.5-mini/gpt-5.5-turboresolve to'gpt-5.5'.test/helpers/pricing.ts— TODO comment block above the OpenAI section. Pricing intentionally NOT pre-filled.estimateCostUsd's warn-once-and-return-0 path is louder in benchmark reports than a placeholder that would quietly ship wrong numbers. Add real rows when 5.5 launches.Why additive (not rename)
Renaming
gpt-5.4 → gpt-5.5would (a) strand existing users pinned to 5.4, (b) require historical revisionism in CHANGELOG / docs/designs/PLAN_TUNING_V0.md / PACING_UPDATES_V0.md, and (c) break the OpenAI blog-post URL references in design-review/SKILL.md and friends. Adding alongside is what the codebase pattern already does for new model families.Test plan
Verified locally before pushing:
11
resolveModelcases pass:gpt-5.5,gpt-5.5-mini,gpt-5.5-turbo→'gpt-5.5';gpt-5.4/gpt-5.4-miniunchanged;gpt-4ostill falls through to'gpt'; claude / o-series / gemini families intact; unknown returns null.generateModelOverlay({model:'gpt-5.5'})returns 2511 chars: gpt.md base content (Completion bias / No preamble / AskUserQuestion-NOT-preamble) followed by the 5.5 placeholder note.bun test test/helpers/ test/benchmark-runner.test.ts— 73 pass / 0 fail.Reviewer: confirm pricing-as-TODO is the preferred pattern vs. shipping a placeholder row
Reviewer: confirm
gpt-5.5ordering abovegpt-5.4inALL_MODEL_NAMESmatches house style