Summary
When running claudish with ZenGo Kimi models, tool execution can succeed (and print output) but the provider layer still returns:
{"type":"error","error":{"type":"invalid_request_error","message":"Error from provider: Provider returned error"}}
This appears after Bash tool calls in claudish --model zgo@kimi-k2.5 and claudish --model zgo@kimi-k2.6.
Environment
claudish CLI (Claude Code banner shows v2.1.119)
- Models:
zgo@kimi-k2.5
zgo@kimi-k2.6
Reproduction
- Run:
claudish --model zgo@kimi-k2.5
or
claudish --model zgo@kimi-k2.6
- Prompt:
- Agent executes a Bash tool command.
Observed behavior
k2.5
- First attempt (
ssh ...) fails auth (expected for missing creds)
- Second attempt with
sshpass returns valid table output (38+ lines)
- Despite successful command output, UI shows API error:
invalid_request_error: Error from provider: Provider returned error
k2.6
- Sometimes gets stuck in repeated
Coalescing…
- When it does run Bash, same
API Error: 400 appears after command output/failure
Expected behavior
- If Bash output is valid and returned, the turn should complete normally.
- Provider errors should not be surfaced when the tool result is already available and usable.
Additional context
Potentially relevant code path:
packages/cli/src/providers/probe-live.ts line ~314
|
"provider returned error event"; |
Raw snippets
⎿ API Error: 400
{"type":"error","error":{"type":"invalid_request_error","message":"Error from provider: Provider returned error"}}
k2.6 session also showed repeated: "Coalescing…"
Summary
When running
claudishwith ZenGo Kimi models, tool execution can succeed (and print output) but the provider layer still returns:{"type":"error","error":{"type":"invalid_request_error","message":"Error from provider: Provider returned error"}}This appears after Bash tool calls in
claudish --model zgo@kimi-k2.5andclaudish --model zgo@kimi-k2.6.Environment
claudishCLI (Claude Code banner showsv2.1.119)zgo@kimi-k2.5zgo@kimi-k2.6Reproduction
Observed behavior
k2.5
ssh ...) fails auth (expected for missing creds)sshpassreturns valid table output (38+ lines)invalid_request_error: Error from provider: Provider returned errork2.6
Coalescing…API Error: 400appears after command output/failureExpected behavior
Additional context
Potentially relevant code path:
packages/cli/src/providers/probe-live.tsline ~314claudish/packages/cli/src/providers/probe-live.ts
Line 314 in a944199
Raw snippets