OpenRouter o1 or o3 not working #6077
Unanswered
andresgit
asked this question in
Troubleshooting
Replies: 2 comments 1 reply
-
OR issue, please message them on their discord |
Beta Was this translation helpful? Give feedback.
0 replies
-
According to the documentation here https://openrouter.ai/docs/use-cases/reasoning-tokens the correct way would be |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
When trying to run using OpenRouter o1 or o3-mini-high it doesn't work and I get the following error in the log:
error: [OpenAIClient.chatCompletion] Unhandled error type Error: 400 [ { "code": "custom", "message": "Only one of \"reasoning\" and \"reasoning_effort\" may be provided", "path": [] } ]
The request seems to set both
include_reasoning: true
andreasoning_effort: "medium"
, but that doesn't work, for example this code doesn't work:Instead the reasoning settings should be given differently: https://openrouter.ai/docs/use-cases/reasoning-tokens
This works for example:
Version Information
[email protected]
Steps to Reproduce
See above
What browsers are you seeing the problem on?
No response
Relevant log output
Screenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions