Failed to transform agent message with Tongyi v0.0.13 #100

Closed
opened 2026-02-16 10:18:04 -05:00 by yindo · 3 comments
Owner

Originally created by @canyangyang on GitHub (Mar 20, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues Dify issues & Dify Official Plugins, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.0.1

Plugin version

0.0.13

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Looks like another json parse problem
It`s fixed in tongyi v0.0.12 ,but come back again when updated to v0.0.13……
Please have a check locally before push to the origin

Image

✔️ Error log

Failed to transform agent message: PluginlnvokeError: {"args":{},"error_tyKeyError","me
ssage":" current_timecurrent_time'"}

Originally created by @canyangyang on GitHub (Mar 20, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.0.1 ### Plugin version 0.0.13 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce Looks like another json parse problem It`s fixed in tongyi v0.0.12 ,but come back again when updated to v0.0.13…… Please have a check locally before push to the origin ![Image](https://github.com/user-attachments/assets/81c08248-fca2-44e7-9a19-3b1713e9faf3) ### ✔️ Error log Failed to transform agent message: PluginlnvokeError: {"args":{},"error_tyKeyError","me ssage":" current_timecurrent_time'"}
yindo added the bug label 2026-02-16 10:18:04 -05:00
yindo closed this issue 2026-02-16 10:18:04 -05:00
Author
Owner

@zddwild commented on GitHub (Mar 22, 2025):

I have a similar issue. When I choose the tongyi v0.0.14 plugin to use in the agent, and invoke the tool using the faction calling mode, an exception is always thrown, which seems to be related to JSON parsing. However, this situation does not occur with the deepseek plugin. Even though I use the function calling mode in the same way, it still works fine, although it’s a bit slower,my dify version is 1.1.2
Image

@zddwild commented on GitHub (Mar 22, 2025): I have a similar issue. When I choose the tongyi v0.0.14 plugin to use in the agent, and invoke the tool using the faction calling mode, an exception is always thrown, which seems to be related to JSON parsing. However, this situation does not occur with the deepseek plugin. Even though I use the function calling mode in the same way, it still works fine, although it’s a bit slower,my dify version is 1.1.2 <img width="835" alt="Image" src="https://github.com/user-attachments/assets/b9f6ec37-1140-4523-9bfc-dc77b60a9ba2" />
Author
Owner

@wangdisdu commented on GitHub (Mar 26, 2025):

this pr can fix it https://github.com/langgenius/dify-official-plugins/pull/557

@wangdisdu commented on GitHub (Mar 26, 2025): this pr can fix it https://github.com/langgenius/dify-official-plugins/pull/557
Author
Owner

@dosubot[bot] commented on GitHub (Aug 17, 2025):

Hi, @canyangyang. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported a recurring JSON parsing error with the Tongyi plugin (v0.0.13) in Dify 1.0.1 related to a KeyError for "current_time."
  • Despite a previous fix in v0.0.12, the issue persisted.
  • Another user, zddwild, confirmed a similar error with Tongyi v0.0.14 in Dify 1.1.2 when using faction calling mode.
  • The maintainer wangdisdu pointed to PR #557, which addresses and fixes the JSON parsing error.
  • You requested local checks before pushing updates to prevent regressions.

Next Steps:

  • Please check if the issue still occurs with the latest version of the dify-official-plugins repository.
  • If the problem persists, feel free to comment here to keep the discussion open; otherwise, I will automatically close this issue in 5 days.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Aug 17, 2025): Hi, @canyangyang. I'm [Dosu](https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported a recurring JSON parsing error with the Tongyi plugin (v0.0.13) in Dify 1.0.1 related to a KeyError for "current_time." - Despite a previous fix in v0.0.12, the issue persisted. - Another user, zddwild, confirmed a similar error with Tongyi v0.0.14 in Dify 1.1.2 when using faction calling mode. - The maintainer wangdisdu pointed to PR #557, which addresses and fixes the JSON parsing error. - You requested local checks before pushing updates to prevent regressions. **Next Steps:** - Please check if the issue still occurs with the latest version of the dify-official-plugins repository. - If the problem persists, feel free to comment here to keep the discussion open; otherwise, I will automatically close this issue in 5 days. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#100