[PR #377] [MERGED] fix(tongyi): Update stream response handling in Tongyi LLM model #1330

Closed
opened 2026-02-16 10:22:38 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/377
Author: @Snuffel233
Created: 3/4/2025
Status: Merged
Merged: 3/4/2025
Merged by: @crazywoola

Base: mainHead: main


📝 Commits (2)

  • 8a0f6a0 fix(tongyi): Update stream response handling in Tongyi LLM model
  • 66aa023 update yaml

📊 Changes

2 files changed (+5 additions, -4 deletions)

View changed files

📝 models/tongyi/manifest.yaml (+1 -1)
📝 models/tongyi/models/llm/llm.py (+4 -3)

📄 Description

  • Modify incremental_output parameter to match stream mode
  • Add is_reasoning flag to track reasoning state during response generation
  • Refactor response handling to improve stream processing logic

🔄 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-official-plugins/pull/377 **Author:** [@Snuffel233](https://github.com/Snuffel233) **Created:** 3/4/2025 **Status:** ✅ Merged **Merged:** 3/4/2025 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`8a0f6a0`](https://github.com/langgenius/dify-official-plugins/commit/8a0f6a0c3471b00ba447086a5af09bb07c4aa333) fix(tongyi): Update stream response handling in Tongyi LLM model - [`66aa023`](https://github.com/langgenius/dify-official-plugins/commit/66aa02366a0bd7afead671bccbb33f5ec1ef3233) update yaml ### 📊 Changes **2 files changed** (+5 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `models/tongyi/manifest.yaml` (+1 -1) 📝 `models/tongyi/models/llm/llm.py` (+4 -3) </details> ### 📄 Description - Modify `incremental_output` parameter to match stream mode - Add `is_reasoning` flag to track reasoning state during response generation - Refactor response handling to improve stream processing logic --- <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-16 10:22:38 -05:00
yindo closed this issue 2026-02-16 10:22:38 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#1330