Pi: thinking control missing for every model except pi's active one (no default level, empty trigger)
What happened
In the composer, the reasoning/effort control is missing for most Pi models, even though pi reports thinking levels for them. Examples: zai/glm-5.3-flash, zai/glm-5.3-highspeed, kimi-coding/kimi-for-coding (Kimi K2.8 Preview), deepseek/deepseek-flash (DeepSeek V4.1 Flash), qwen-token-plan-individual/deepseek-v4.1-flash and the other qwen-token-plan-individual models. The only Pi model that shows the control is pi's current default model (zai/glm-5.3 here), even though zai/glm-5.3-flash exposes the same levels.
Diagnosis
The server sends the levels correctly. The control disappears because only one Pi model gets a default level, and the composer renders nothing when a select has neither a current value nor a default.
-
Server: only the active pi model gets
isDefault.parseDiscoveredModels(packages/provider-pi/src/server/status.ts:120-125) passesstate.thinkingLeveltothinkingCapabilitiesForPiModelonly when the model matches pi's active provider and id. Every other model getsundefined, soclampPiThinkingLevelreturnsundefinedand none of thethinkingoptions is markedisDefault(thinkingCapabilities.ts:30-40). The levels are correct; the server's Pi model list shows, for example:zai/glm-5.3:thinking= low, high, max, default highzai/glm-5.3-flash:thinking= low, high, max, no defaultkimi-coding/kimi-for-coding: low, high, max, no defaultdeepseek/deepseek-flash: off, low, high, max, no defaultqwen-token-plan-individual/qwen3.7-max: off … high, no default
-
Web: an empty trigger label renders an invisible control. In
TraitsPicker.tsx, with no selection and no default,getDescriptorStringValuereturnsundefined, soresolveEffortGlyph(descriptor, null)returnsnull(EffortGlyph.tsx:24), andbuildTraitsTriggerDisplayreturnslabel: "". TheneffortWord = isComposerOwned ? triggerLabel : nullevaluates to"", notnull(TraitsPicker.tsx:620-624). So the trigger renders<span data-composer-control-label>{""}</span>plus aninvisibleGaugeIcon: an empty button with-ms-1 ps-0, which takes no visible space.hasAnyControlsis true, so the bar keeps the slot but nothing shows in it.
Possible fixes, either of which would help:
- Server: pass pi's session
thinkingLevelfor every discovered model, not just the active one.clampPiThinkingLevelalready maps it to the nearest supported level, which matches what pi does to the session level when you switch models. - Web: when a reasoning select has no value and no default, fall back to a visible placeholder (gauge icon or "Thinking") instead of an empty string, so the control can still be opened.
main (checked 2026-10-30) has the same code in all four files, so this is not yet fixed.
Steps to reproduce
- Configure pi (≥ 1.0) with any provider whose catalog has several reasoning models, e.g.
zai(GLM Coding), and leave pi'sdefaultModelas one of them (glm-5.3). - In T3 Code, start a new thread, choose Pi, and select a different reasoning model from the same provider, e.g.
zai/glm-5.3-flash. - The effort/thinking control next to the model name is blank/missing. Clicking the exact empty spot between the model name and the send button still opens the picker, so the control is there but invisible. Select
zai/glm-5.3and it appears with "High".
Version
0.1.5 (headless t3 serve server)
Environment
Server: Linux x64, Node v26.12.1, pi 1.4.0. Reproduced in the macOS desktop app and in the web app (app.t3.codes). macOS servers on 0.1.5 with pi 1.4.0 send the same model list without defaults.
Evidence
# pi RPC get_available_models (pi 1.4.0): levels present for the affected models
zai/glm-5.3-flash reasoning=true thinkingLevelMap={off:null,minimal:null,low:"low",medium:null,high:"high",xhigh:null,max:"max"}
kimi-coding/kimi-for-coding reasoning=true thinkingLevelMap={off:null,minimal:null,low:"low",medium:null,high:"high",xhigh:null,max:"max"}
deepseek/deepseek-flash reasoning=true thinkingLevelMap={minimal:null,low:"low",medium:null,high:"high",max:"max"}
# T3 provider snapshot for Pi: only the active model has a default
{"id":"zai/glm-5.3","options":[{"id":"thinking","values":["low","high","max"],"default":"high"}]}
{"id":"zai/glm-5.3-flash","options":[{"id":"thinking","values":["low","high","max"]}]}
# server.trace.ndjson: discovery healthy
PiProviderStatus.discoverPiViaRpc Success (17/17)
PiRpc.request Success (49/49)
Related issues
None found. Searched for pi thinking/reasoning level, effort picker missing, and thinking default. #402 added the Pi provider; #4192 is about custom Claude models, not Pi.
Fix applied or workaround
None applied. The only workaround is to make the model you want pi's defaultModel, which fixes one model at a time.
Filed by
claude (claude-opus-5-5) via the t3 triage playbook
Confirmed on the Linux desktop app with nightly 0.1.6-nightly.20261030.3917, using the Pi provider.
In the composer, 6.1 Sol displays its reasoning level (“High”) and lets me change it. 6 Luna and the other models I tried show no reasoning level or visible selector.
Clicking the blank space between the model name and the send button opens the reasoning picker, confirming that the control is present but invisible.
Prepared with Codex.
Confirmed on macOS arm64, desktop app with local server 0.1.6-nightly.20261030.3940, model displayed as “6.1 Terra”.
When the thinking level is unset, its button is invisible and very narrow. Clicking the blank area still opens the selector.
Confirmed on macOS arm64, desktop app with local server 0.1.5, pi 1.4.0.
openai/gpt-6-astraandopenai-codex/gpt-6-astrashow no thinking level and no visible selector.- pi's default model,
openai/gpt-6.1-sol, shows "High". - The server's Pi model list has
thinkingoptions for both Astra models, but neither hasisDefault. - Workaround: click the narrow gap between the model name and the send button. Choosing a level shows it, for example "6 Astra Medium".
Filed by claude (claude-opus-5-5) via the t3 triage playbook.