From 163013fc18690f466df49513601f276f331f6177 Mon Sep 17 00:00:00 2001 From: Resham Joshi <65915470+iamtoruk@users.noreply.github.com> Date: Mon, 22 Jun 2026 02:20:30 +0200 Subject: [PATCH] fix(pi): label gpt-5.5 as GPT-5.5 (#548) 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. --- src/providers/pi.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/providers/pi.ts b/src/providers/pi.ts index b741f22..055d085 100644 --- a/src/providers/pi.ts +++ b/src/providers/pi.ts @@ -11,6 +11,7 @@ import type { Provider, SessionSource, SessionParser, ParsedProviderCall } from const modelDisplayNames: Record = { 'gpt-5.4': 'GPT-5.4', 'gpt-5.4-mini': 'GPT-5.4 Mini', + 'gpt-5.5': 'GPT-5.5', 'gpt-5': 'GPT-5', 'gpt-4o': 'GPT-4o', 'gpt-4o-mini': 'GPT-4o Mini',