Replies: 1 comment
-
|
You can let users override the model in their request payload by configuring the APISIX If you want to enforce a default model or restrict overrides, use the plugin's For more control, you can create multiple routes with the same URI and use the route If you're using Let me know if you need example route configs or want to discuss best practices for restricting allowed models. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I didn't find how to make the user be able to override the "custom" model from a route.
Let him do something like this:
{
"model": "gemini-2.5-pro",
"messages": [
{
"role": "system",
"content": "You are a mathematician"
},
{
"role": "user",
"content": "What is 1+1?"
}
]
}
Beta Was this translation helpful? Give feedback.
All reactions