[PR #213] fix: unclosed <think> tag when content is empty #227

Open
opened 2026-02-15 21:16:19 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-sdks/pull/213
Author: @xiaokunzh
Created: 9/27/2025
Status: 🔄 Open

Base: mainHead: dev


📝 Commits (1)

  • 6985baf fix: unclosed tag when content is empty

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 python/dify_plugin/interfaces/model/large_language_model.py (+1 -1)

📄 Description


🔄 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/213 **Author:** [@xiaokunzh](https://github.com/xiaokunzh) **Created:** 9/27/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `dev` --- ### 📝 Commits (1) - [`6985baf`](https://github.com/langgenius/dify-plugin-sdks/commit/6985baf998ba1a178626f930954ccdbd943bc187) fix: unclosed <think> tag when content is empty ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `python/dify_plugin/interfaces/model/large_language_model.py` (+1 -1) </details> ### 📄 Description - fix unclosed <think> tag when content is empty (tool_calls or others) - see the same reported issue https://github.com/langgenius/dify/issues/25482 --- <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:16:19 -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#227