code-cli icon indicating copy to clipboard operation
code-cli copied to clipboard

[Auto] session_failure: The operation timed out.

Open igorcosta opened this issue 6 months ago • 1 comments

Auto-Reported Error

Field Value
Error Type session_failure
CLI Version 0.9.0
Model locallama
Provider llamacpp
Platform win32 10.0.19045
Session ID 558d6f0f-f10b-49d2-b35f-9ef36796692a-1778683773317
Report ID AsDEZXpnIs5JuOKun2F6I

Error Message

The operation timed out.

Stack Trace

No stack trace available

Session Context

  • Conversation length: 3 messages
  • Context usage: 21%
  • Last tools used: N/A
  • Retry attempt: 1 / 3

Additional Context

{
  "retryAttempt": 1,
  "maxRetries": 3
}

Auto-reported by Autohand CLI v0.9.0 | Report ID: AsDEZXpnIs5JuOKun2F6I

igorcosta avatar May 13 '26 14:05 igorcosta

Classified during the open-issue pass: local provider timeout, not a code fix in this pass.

The llamacpp provider timed out waiting on the local endpoint. This points to local server load/startup/configuration rather than CLI logic.

Validation context:

  • bun run test tests/providers/apiErrors.test.ts tests/providers/LLMGatewayClient.spec.ts tests/providers/OpenRouterProvider.test.ts tests/providers/ZaiProvider.test.ts tests/providers/OllamaProvider.test.ts

Tip: verify the llama.cpp server is running and responsive, then retry or increase the configured network timeout.

igorcosta avatar Jun 12 '26 12:06 igorcosta

Closing as operational/provider-side rather than a CLI bug. The report is caused by rate limits, provider auth/billing/model availability, local provider connectivity, or provider timeout conditions that users need to resolve with the selected provider/account/model.

igorcosta avatar Jun 22 '26 21:06 igorcosta