-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
I’m unable to disable reasoning. I’ve reviewed the documentation and tried setting the following options under reasoning, but it still remains enabled:
effort: "none"
exclude: true
enabled: false
max_tokens: 0
Typescript Request Payload Sample:
{
"model": "x-ai/grok-3-mini",
"messages": [
{
"role": "system",
"content": "You are Grok 3 Mini, a large language model from x-ai. Formatting Rules..."
},
{
"role": "user",
"content": "Which is bigger: 9.11 or 9.9?"
}
],
"stream": true,
"streamOptions": {
"includeUsage": true
},
"reasoning": {
// ‼️ ‼️ ‼️ What should we set here to turn off reasoning? ‼️ ‼️ ‼️
}
}
SDK Version: package.json
"@openrouter/sdk": "^0.3.10",
Metadata
Metadata
Assignees
Labels
No labels