Skip to content

fix(pi): label gpt-5.5 as GPT-5.5#548

Merged
iamtoruk merged 1 commit into
mainfrom
fix/pi-gpt-5.5-label
Jun 22, 2026
Merged

fix(pi): label gpt-5.5 as GPT-5.5#548
iamtoruk merged 1 commit into
mainfrom
fix/pi-gpt-5.5-label

Conversation

@iamtoruk

Copy link
Copy Markdown
Member

The pi provider's modelDisplayName matches on a startsWith prefix; with no gpt-5.5 entry, gpt-5.5 fell 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 explicit gpt-5.5 entry 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).

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.
@iamtoruk iamtoruk merged commit 163013f into main Jun 22, 2026
3 checks passed
@iamtoruk iamtoruk deleted the fix/pi-gpt-5.5-label branch June 22, 2026 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant