From cca42d2b051df6c5a986cd96a7810485cb072efe Mon Sep 17 00:00:00 2001 From: AgentSeal Date: Mon, 22 Jun 2026 02:18:06 +0200 Subject: [PATCH] fix(pi): label gpt-5.5 as GPT-5.5 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 b741f222..055d0852 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',