chatGPTBox icon indicating copy to clipboard operation
chatGPTBox copied to clipboard

希望增加reasoning_content的输出支持

Open aaaAlexanderaaa opened this issue 1 year ago • 1 comments

背景

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?

aaaAlexanderaaa avatar Feb 06 '25 12:02 aaaAlexanderaaa

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

PasserbyAlpha avatar Feb 19 '25 19:02 PasserbyAlpha