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
LiteLLM proxy error: "Anthropic doesn't support tool calling without tools=" even with litellmProxy: true (v1.1.31) #10037
## Description
Using OpenCode v1.1.31 with LiteLLM proxy, error occurs on **new sessions**:
litellm.UnsupportedParamsError: Anthropic doesn't support tool calling without tools= param specified.
Received Model Group=claude-opus-4-5-20251101
Available Model Group Fallbacks=None
### Plugins
on my opencode
### OpenCode version
v1.1.31
### Steps to reproduce
Sisyphus
### Screenshot and/or share link
_No response_
### Operating System
Windows 10
### Terminal
Windows PowerShell
Activity
yiethan0618-lab commentedon Jan 23, 2026
已解决
ewencodes commentedon Jan 28, 2026
Hi, i get the same issue when trying to compact using Anthropic models even with the
"litellmProxy": true..github-actions commentedon Mar 30, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.
ollisal commentedon Jun 15, 2026
I still get this error whenever compaction threshold is reached, although I have
options.litellmProxy = trueI think it worked for a while in the spring, but hasn't worked in at least a month
OpenCode 1.17.7
Jeffwhen commentedon Jun 30, 2026
Seems they have removed litellmProxy option. My workaround is add
github-copilotinto my provider ID. Works like a charmopencode/packages/opencode/src/session/llm/request.ts
Lines 159 to 175 in 6b074ed