Example
I am trying to call deepseek/deepseek-chat directly. However, only DeepSeek provider supports tool use. So when my requests get routed anywhere else, I get an error back from OpenRouter.
Description
How can I prevent this scenario? For every single model that I want to use do I have to figure out which providers support tool use and then manually list those out when I call the endpoint?
This seems almost impossible to do. I can call the models endpoint to figure out which models support tool use, but how is that useful if tool use depends on which provider will be called?