Skip to content

feat: add agent thinking content display of deepseek R1#12949

Merged
crazywoola merged 3 commits into
langgenius:mainfrom
hjlarry:p182
Jan 24, 2025
Merged

feat: add agent thinking content display of deepseek R1#12949
crazywoola merged 3 commits into
langgenius:mainfrom
hjlarry:p182

Conversation

@hjlarry

@hjlarry hjlarry commented Jan 22, 2025

Copy link
Copy Markdown
Contributor

Summary

Tip

Close issue syntax: Fixes #<issue number> or Resolves #<issue number>, see documentation for more details.

fix #12891

It will wrap the thinking content with markdown's quote

Screenshots

Before After
9644ea12add88b4e255580be88331a8 f21c6f1ab9400bec78576dd09a37678

Checklist

Important

Please review the checklist below before submitting your pull request.

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods

@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. ⚙️ feat:model-runtime 🤖 feat:agent Agent related topics labels Jan 22, 2025
@crazywoola crazywoola requested a review from laipz8200 January 24, 2025 02:06

@crazywoola crazywoola left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Jan 24, 2025

@laipz8200 laipz8200 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@crazywoola crazywoola merged commit 59b3e67 into langgenius:main Jan 24, 2025
@CracKerMe

CracKerMe commented Jan 25, 2025

Copy link
Copy Markdown

Thank you for your efforts, but I am curious about the DeepSeek-R1 deployed by Ollama. The tag display is still incorrect. Will there be continuing repair plans?

image

@hjlarry

hjlarry commented Jan 26, 2025

Copy link
Copy Markdown
Contributor Author

Thank you for your efforts, but I am curious about the DeepSeek-R1 deployed by Ollama. The tag display is still incorrect. Will there be continuing repair plans?

My Ollama doesn't have enough GPU power to run DeepSeek-R1. Perhaps someone else could implement this feature.

@zxfishhack

Copy link
Copy Markdown
Contributor

#13409

jsincorporated pushed a commit to jsincorporated/asaAi that referenced this pull request Jul 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🤖 feat:agent Agent related topics lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Added support for including the reasoning process in the output of Reasoning Model.

5 participants