[PR #33] [MERGED] migrate the <think> tag #94

Closed
opened 2026-02-15 21:15:44 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-sdks/pull/33
Author: @hjlarry
Created: 3/5/2025
Status: Merged
Merged: 3/12/2025
Merged by: @Yeuoly

Base: mainHead: p7


📝 Commits (1)

📊 Changes

2 files changed (+28 additions, -1 deletions)

View changed files

📝 python/dify_plugin/interfaces/model/large_language_model.py (+24 -0)
📝 python/dify_plugin/interfaces/model/openai_compatible/llm.py (+4 -1)

📄 Description

migrate this PR https://github.com/langgenius/dify/pull/13392

Currently, many models rely on dify_plugin==0.0.1b65, which utilizes a hardcoded <details ...> tag to handle reason content. This approach needs to be replaced.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-plugin-sdks/pull/33 **Author:** [@hjlarry](https://github.com/hjlarry) **Created:** 3/5/2025 **Status:** ✅ Merged **Merged:** 3/12/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `p7` --- ### 📝 Commits (1) - [`24e3d54`](https://github.com/langgenius/dify-plugin-sdks/commit/24e3d54ec3c36cb5cd3aa3386ff07f15f5b42948) migrate the <think> tag ### 📊 Changes **2 files changed** (+28 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `python/dify_plugin/interfaces/model/large_language_model.py` (+24 -0) 📝 `python/dify_plugin/interfaces/model/openai_compatible/llm.py` (+4 -1) </details> ### 📄 Description migrate this PR https://github.com/langgenius/dify/pull/13392 Currently, many models rely on `dify_plugin==0.0.1b65`, which utilizes a hardcoded `<details ...>` tag to handle reason content. This approach needs to be replaced. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 21:15:44 -05:00
yindo closed this issue 2026-02-15 21:15:44 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-sdks#94