• Your Name's avatar
    Add reasoning/thinking extraction and forced reasoning support · 1a6467ca
    Your Name authored
    - 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
    1a6467ca
coderai~ 358 KB