-
Notifications
You must be signed in to change notification settings - Fork 14.9k
tools/mcp not available when using a custom provider #1463
Copy link
Copy link
Closed
Description
how can i let opencode know that my model support tool calling or thinking when using a custom config like that:
"provider": {
"coolnewprovider": {
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "https://openrouter.ai/api/v1",
"apiKey": "xxxxxxxxxx"
},
"models": {
"openrouter/horizon-alpha": {}
}
}
},❓ ❓ ❓
because when using any model from models.dev the info is there (of course), but with custom providers i need to tell opencode as well that there are tools/mcps - but how ? asking kimi "which tools do you know", i get everything, but asking "horizon-alpha", the answer shows me that the model doesn´t know any of the tools/mcps 😢
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels