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

希望增加reasoning_content的输出支持 #839

Open
aaaAlexanderaaa opened this issue Feb 6, 2025 · 1 comment
Open

希望增加reasoning_content的输出支持 #839

aaaAlexanderaaa opened this issue Feb 6, 2025 · 1 comment

Comments

@aaaAlexanderaaa
Copy link

背景

deepseek R1 系列的API调用会把思考过程放在“reasoning_content”字段中,并且不会把reasoning_content放在上下文中。

https://api-docs.deepseek.com/guides/reasoning_model

Image

需求

目前调用R1系列模型没有问题,但是不会输出思考过程,这导致使用不太顺畅。

希望增加reasoning_content的输出支持,并且嵌合现在R1的调用逻辑。

或许可以把 reasoning_content 包在一个tag比如<reasoning_content>里面,作为输出的header,但是不参与API call?

@PasserbyAlpha
Copy link

Just submit a simple solution for #840 (maybe a temporary one).

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

No branches or pull requests

2 participants