Agent calls LLM plugin extra data: line 1 column 5 (char 4) bug #13686

Closed
opened 2026-02-21 19:13:23 -05:00 by yindo · 2 comments
Owner

Originally created by @suntao2015005848 on GitHub (May 7, 2025).

Originally assigned to: @crazywoola on GitHub.

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 search for existing issues, 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.3.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Both the tongyi 21 plugin and Xorbits Inference 0.0.3 plugin report the same error under Agent:

Extra data: line 1 column 5 (char 4) bug

However, the error disappears when downgrading tongyi 21 to tongyi 16.

✔️ Expected Behavior

The Agent is operating normally.
tongyi 16 :
Image

Actual Behavior

tongyi 21 and Xorbits Inference 0.0.3 error:
Image

Originally created by @suntao2015005848 on GitHub (May 7, 2025). Originally assigned to: @crazywoola on GitHub. ### 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 [search for existing issues](https://github.com/langgenius/dify/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.3.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce Both the tongyi 21 plugin and Xorbits Inference 0.0.3 plugin report the same error under Agent: Extra data: line 1 column 5 (char 4) bug However, the error disappears when downgrading tongyi 21 to tongyi 16. ### ✔️ Expected Behavior The Agent is operating normally. tongyi 16 : <img width="785" alt="Image" src="https://github.com/user-attachments/assets/5360a124-2424-42ca-9cfc-11ee3f4c6708" /> ### ❌ Actual Behavior tongyi 21 and Xorbits Inference 0.0.3 error: <img width="785" alt="Image" src="https://github.com/user-attachments/assets/c5f51763-596a-4673-a1d5-04e2026198a1" />
yindo added the 🐞 bug🤖 feat:agent labels 2026-02-21 19:13:23 -05:00
yindo closed this issue 2026-02-21 19:13:23 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (May 7, 2025):

I found a similar open issue titled "Breaking Error in New Tongyi Plugin 0.0.21: 'Extra data: line 1 column 20 (char 19)' When Calling Tools" which was last updated on May 07, 2025. This issue is still open and has no comments or references. A related closed issue suggested rolling back the tongyi plugin to version 16 to resolve the error [1].

The error you're encountering with the tongyi 21 plugin and Xorbits Inference 0.0.3 plugin under the Agent seems to be similar. Downgrading the tongyi plugin to version 16 appears to resolve the issue, as you've noted in your report. This rollback solution aligns with the resolution found in the closed issue.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (May 7, 2025): <!-- Answer --> I found a similar open issue titled "[Breaking Error in New Tongyi Plugin 0.0.21: 'Extra data: line 1 column 20 (char 19)' When Calling Tools](https://github.com/langgenius/dify-official-plugins/issues/861)" which was last updated on May 07, 2025. This issue is still open and has no comments or references. A related closed issue suggested rolling back the tongyi plugin to version 16 to resolve the error <sup>[[1]](https://github.com/langgenius/dify-official-plugins/issues/861)</sup>. The error you're encountering with the tongyi 21 plugin and Xorbits Inference 0.0.3 plugin under the Agent seems to be similar. Downgrading the tongyi plugin to version 16 appears to resolve the issue, as you've noted in your report. This rollback solution aligns with the resolution found in the closed issue. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/003319df-a29d-4056-adc6-69fd8b02a1e0?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/003319df-a29d-4056-adc6-69fd8b02a1e0?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/003319df-a29d-4056-adc6-69fd8b02a1e0?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/003319df-a29d-4056-adc6-69fd8b02a1e0?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/003319df-a29d-4056-adc6-69fd8b02a1e0?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/003319df-a29d-4056-adc6-69fd8b02a1e0?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/003319df-a29d-4056-adc6-69fd8b02a1e0?feedback_type=other)</sup>
Author
Owner

@qlanto224 commented on GitHub (May 7, 2025):

me too

Image

@qlanto224 commented on GitHub (May 7, 2025): me too ![Image](https://github.com/user-attachments/assets/a8328918-c486-4a88-99fb-4a6beadd433f)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#13686