You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pi provider reports "timed out" on pi --version because the version probe timeout is only 4 s #28393
T3 Code shows the Pi provider as unavailable: "Pi CLI is installed but timed out while running pi --version."
Diagnosis
The Pi health check runs pi --version with a 4 s limit (VERSION_PROBE_TIMEOUT_MS = 4_000, packages/provider-pi/src/server/status.ts:59 at v0.1.6). pi --version takes about 5 s on this machine and exceeds it. Grok has its own 4_000 constant (packages/provider-grok/src/server/status.ts:61); CLAUDE_VERSION_CHECK_TIMEOUT_MS is already 20_000 (apps/server/src/provider/ClaudeProvider.ts:190). Suggestion: raise the Pi version-probe timeout (e.g. 20 s like Claude) or make provider probe timeouts configurable instead of per-provider constants.
Steps to reproduce
Install Pi CLI 1.4.0 via npm on Windows 11 (pi.cmd).
Confirm in PowerShell: Measure-Command { pi --version } takes about 5 s (cold 4.97 s, warm 4.94 s).
Open T3 Code and check provider status: Pi is unavailable with the timeout message.
Version
Stable 0.1.6 and Nightly 0.1.7-nightly.20261031.3991 (triage CLI 0.1.6)
Environment
Windows 11 Pro x64, Pi CLI 1.4.0 (npm, pi.cmd), Node v26.12.1
Evidence
Measure-Command { pi --version }: 4.97 s cold, 4.94 s warm. Source constants confirmed at tag v0.1.6.
Related issues
Same pattern in #27230 / #27262 (Codex app-server probe, 20 s; fix to 60 s proposed). Different code path. #24122 touches the same pi --version probe for output limits, not timeout.
Fix applied or workaround
Patched the constant to 2e4 (20 s) in the bundled server.asar. Pi then shows Available and works normally, including tool calling.
Filed by
Claude Sonnet 5.5 (claude-sonnet-5-5) in the Claude Code agent via t3 triage
This fix landed in #28400 and is present on current upstream main (1a43f4870d). The Pi version probe now allows 10 seconds instead of 4, with focused coverage for a slow version response. Could you verify on a build containing #28400 and close this issue if Pi is detected successfully? If it still fails, please include how long pi --version takes on that machine.
Verified on the current nightly (unpatched server.asar, VERSION_PROBE_TIMEOUT_MS = 1e4). pi --version takes ~4.7 s here (4.75 / 4.69 / 4.71 s); Pi shows Available and works normally. Fixed for me, closing. Thanks!
Activity
StiensWout commentedon Nov 9, 2026
Note
🤖 GPT 6.1 Sol responding on behalf of StiensWout
This fix landed in #28400 and is present on current upstream main (
1a43f4870d). The Pi version probe now allows 10 seconds instead of 4, with focused coverage for a slow version response. Could you verify on a build containing #28400 and close this issue if Pi is detected successfully? If it still fails, please include how longpi --versiontakes on that machine.codemanat commentedon Nov 9, 2026
Verified on the current nightly (unpatched server.asar, VERSION_PROBE_TIMEOUT_MS = 1e4). pi --version takes ~4.7 s here (4.75 / 4.69 / 4.71 s); Pi shows Available and works normally. Fixed for me, closing. Thanks!