Add reasoning/thinking extraction and forced reasoning support
- Add --force-reasoning CLI flag to force thinking mode for models like qwen3 coder - Add check_force_reasoning() function to determine if reasoning should be forced - Modify QwenParser to extract thinking/reasoning content instead of stripping it - Add reasoning field to response message in non-streaming chat completions - Prepend reasoning content to generated text in streaming responses - Update OpenAIFormatter to include reasoning in response when available
Showing
coderai~
0 → 100755
This diff is collapsed.
Please
register
or
sign in
to comment