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

Add reasoning content support (for DeepSeek format API) #840

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

Conversation

PasserbyAlpha
Copy link

For customAPI, try to load delta.reasoning_content and message.reasoning_content if it exists.

For DeepSeek-R1
reasoning_model

For GPT-4o
common_model

Currently only delta part (streaming) has been tested (I don't know how to trigger a single-request chat completion with the repo).

I'm not familiar with nodejs. Please help me to improve it if possible, thank you!

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.

1 participant