-
-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Selecting a provider via '?Provider=' in the URL does not work in a curl request #2240
Comments
Sorry, the issue is solved. |
Is it possible to make sure that the letter case in this parameter does not affect the processing of the request? |
Bumping this issue because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again. |
up |
Bumping this issue because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again. |
Closing due to inactivity. |
When using
curl
to send a request to theg4f api
server and selecting a provider via the?Provider=
parameter, it doesn't work the way it should, namelyg4f
starts trying all providers that support the model in the request.Example:
curl -H "Content-Type: application/json" -H "Authorization: Bearer" -d "{\"model\":\"gpt-4o-mini\",\"messages\":[{\"role\":\"user\", \"content\": \"Say this is a test!\"}],\"temperature\": 0.7}" http://127.0.0.1:1337/v1/chat/completions?Provider=ChatGpt
The text was updated successfully, but these errors were encountered: