馃悰 AI_APICallError: No endpoints found that support tool use
Environment
- OS: macOS 15.5
- OpenCode Version: 0.3.8
- Provider: OpenRouter
- Model:
tngtech/deepseek-r1t2-chimera:free, moonshotai/kimi-k2:free
- Timestamp: 2025-07-15 07:21:46
馃攳 Description
When initiating a session using OpenRouter as the provider, OpenCode returned the following error:
AI_APICallError: No endpoints found that support tool use. To learn more about provider routing, visit: https://openrouter.ai/docs/provider-routing
This happened after the session was created and message parts were successfully updated. The error seems related to the selected model not supporting the tool use feature.
馃 Relevant Logs
ERROR 2025-07-15T07:21:46 +1ms service=session session=ses_7f30c2bd6ffe3KD1tNALk58y9a error=AI_APICallError: No endpoints found that support tool use. To learn more about provider routing, visit: https://openrouter.ai/docs/provider-routing
ERROR 2025-07-15T07:19:27 +0ms service=session session=ses_7f30c2bd6ffe3KD1tNALk58y9a error=AI_APICallError: Provider returned error
ERROR 2025-07-15T07:19:27 +0ms service=tui message=AI_APICallError: Provider returned error name=UnknownError Server error
馃悰 AI_APICallError: No endpoints found that support tool use
Environment
tngtech/deepseek-r1t2-chimera:free,moonshotai/kimi-k2:free馃攳 Description
When initiating a session using OpenRouter as the provider, OpenCode returned the following error:
AI_APICallError: No endpoints found that support tool use. To learn more about provider routing, visit: https://openrouter.ai/docs/provider-routing
This happened after the session was created and message parts were successfully updated. The error seems related to the selected model not supporting the tool use feature.
馃 Relevant Logs
ERROR 2025-07-15T07:21:46 +1ms service=session session=ses_7f30c2bd6ffe3KD1tNALk58y9a error=AI_APICallError: No endpoints found that support tool use. To learn more about provider routing, visit: https://openrouter.ai/docs/provider-routing
ERROR 2025-07-15T07:19:27 +0ms service=session session=ses_7f30c2bd6ffe3KD1tNALk58y9a error=AI_APICallError: Provider returned error
ERROR 2025-07-15T07:19:27 +0ms service=tui message=AI_APICallError: Provider returned error name=UnknownError Server error