You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pass through reasoning input flag and output chunks (#1096)
Some OpenRouter models allow to include the reasoning output if told to
do so with a special input flag. This seems to be specific to
OpenRouter.
A simple test is:
```
curl http://localhost:8989/openrouter/completions \
-H "Authorization: Bearer $OPENROUTER_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek/deepseek-r1",
"messages": [
{"role": "user", "content": "What is heavier, a kilogram of iron or a kilogram of feathers?"}
],
"include_reasoning": true,
"stream": true
}'
```
Fixes: #977
0 commit comments