mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
Tongyi Plugin SSE Event Incorrectly Modified #371
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hieheihei on GitHub (Jun 16, 2025).
Self Checks
Dify version
1.4.1
Cloud or Self Hosted
Self Hosted (Source)
Steps to reproduce
SSE events, if the current event contains the previous event, part of the content of the current event may be lost.
For example, Tongyi returns event.eventName, but Dify returns event.Name.

we add log in tongyi plugin, found that ".envet" was replaced with "."

relevant code:

✔️ Expected Behavior
No response
❌ Actual Behavior
No response
@hieheihei commented on GitHub (Jun 16, 2025):
We tested using version 0.0.18 of the plugin, but version 0.0.25 also has the same replacement logic.
Was the line
content=resp_content.replace(full_text, "", 1)introduced to address a specific issue?@hieheihei commented on GitHub (Aug 6, 2025):
Fixed in the new version.
