fix(pi): label gpt-5.5 as GPT-5.5#548
Merged
Merged
Conversation
The pi provider's modelDisplayName matches with a startsWith prefix. With no gpt-5.5 entry, the model fell into the greedy 'gpt-5' -> 'GPT-5' prefix and rendered as "GPT-5", while codex/hermes (via the global short-name table) show "GPT-5.5". Add an explicit gpt-5.5 entry so the longer, exact key wins.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The pi provider's
modelDisplayNamematches on astartsWithprefix; with nogpt-5.5entry,gpt-5.5fell into the greedy'gpt-5' -> 'GPT-5'prefix and rendered as "GPT-5", while codex/hermes (via the global short-name table) render "GPT-5.5". Adds an explicitgpt-5.5entry so the exact, longer key wins.Verified live: pi's gpt-5.5 now shows "GPT-5.5"; no row renders bare "GPT-5". tsc clean; pi tests 17/17 pass.
Found during the post-v0.9.12 full-CLI accuracy audit. The other audit cosmetics were by-design (web/menubar 6-month window, currency --reset, export counts projects-with-spend) or a deeper follow-up (report.models showing raw ids / the glm-5p1 pricing alias).