Skip to content

[Bug] When using the standard OpenAI API interface, reasoning_content is gone #4084

@stupidoy620

Description

@stupidoy620

Contact Information

No response

MaxKB Version

2.10

Problem Description

以前用1.10.4版本的时候,应用使用了deepseek-reasoner模型时,打开思考过程,会在对话中输出思考过程,而且使用API调用同样会在reasoning_content中输出思考内容。后续升级到2.10版本后,发现reasoning_content变成空白了,为了验证我又重新装了1.10.10版本测试,发现同样没有reasoning_content,说明这个问题是在1.10.4-1.10.10之间产生的,查看了升级日志,提到思考过程的调整的,有以下几个:

  • v1.10.6 应用:修复输出答案时无法解析思考过程标签的问题。
  • v1.10.9 应用:修复高级编排应用中,部分情况下丢失思考过程标签的问题;

可能大概和这两次的优化有关,烦请确认下。

Image Image

Steps to Reproduce

Image

The expected correct result

No response

Related log output

Additional Information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions