Skip to content

[Question]:Ollama version 0.12.5 removed the "think" content from the content field. How can I modify the code to meet the requirement of displaying the reasoning process? #10878

@husl616

Description

@husl616

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (Language Policy).
  • Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
  • Please do not modify this template :) and fill in all the required fields.

Describe your problem

Starting from Ollama version 0.9.0, the "think" content is no longer included in the content field but has been moved to a separate think field. However, I still want to include the "think" content within the content field to ensure compatibility with RAGFlow's existing UI, which displays the reasoning process. I'm using RAGFlow v0.20.04. In the case of streaming output, which parts of RAGFlow's code should I modify? thanks.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions