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
AI_APICallError: tool_use ids must be unique #1150
I am repeatedly running into the following error in conversations.
This usually happens in longer conversations after many rounds and I can "recover" from it by trying the compact command which then also fails with seemingly the same error, breaking the UI as well. When I then restart opencode and open the session again I can continue, but I guess technically the context is gone.
Activity
audibleblink commentedon Jul 23, 2025
happens to me when switching modes (that use differing models)
opencode.json
{ "$schema": "https://opencode.ai/config.json", "mode": { "build": { "model": "anthropic/claude-sonnet-4-20250514" }, "plan": { "model": "anthropic/claude-opus-4-20250514" }, "serena": { "model": "github-copilot/gemini-2.5-pro", "prompt": "serena, read initial instructions when I say go, ready?" } }, "mcp": { "serena": { "type": "local", "command": [ "uvx", "--from", "git+https://github.com/oraios/serena", "serena-mcp-server", "--context", "ide-assistant", "--project", "." ], "enabled": true } } }rekram1-node commentedon Dec 28, 2025
[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!
fix(domain): switch hosted URLs to openworklabs (anomalyco#1150)