Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Support extracting reasoning content from regular content #1929

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

CH3CHO
Copy link
Collaborator

@CH3CHO CH3CHO commented Mar 19, 2025

Ⅰ. Describe what this PR did

Support extracting reasoning content from regular content.

Tested with deepseek-r1:1.5b hosted in Ollama.

Original non-stream response:

image

Extracted non-stream response:

image

Extracted stream response:

image

image

Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@CH3CHO CH3CHO requested a review from johnlanni March 19, 2025 09:16
@CH3CHO CH3CHO requested review from cr7258 and rinfx as code owners March 19, 2025 09:16
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 43.30%. Comparing base (ef31e09) to head (30ed2f1).
Report is 359 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1929      +/-   ##
==========================================
+ Coverage   35.91%   43.30%   +7.39%     
==========================================
  Files          69       78       +9     
  Lines       11576    12479     +903     
==========================================
+ Hits         4157     5404    +1247     
+ Misses       7104     6737     -367     
- Partials      315      338      +23     

see 73 files with indirect coverage changes

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants