mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
agent functioncalling Run failed: Failed to transform agent message: PluginInvokeError #165
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 @planwk on GitHub (Apr 2, 2025).
Self Checks
Dify version
1.1.3
Plugin version
agent functioncalling JSONDecodeError
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
I created an agent with the strategy of function calling. This strategy often appears before calling the tool and reports the following error:(Sometimes before, sometimes after)
Run failed: Failed to transform agent message: PluginInvokeError: {"args":{},"error_type":"JSONDecodeError","message":"Expecting ':' delimiter: line 1 column 5 (char 4)"}
The JSON format is not compliant as specified by prompts. How to solve this problem? If one wants to track more detailed information, how to set it up?Where should I add these codes? I'm deploying with Docker.
✔️ Error log
No response
@leslie2046 commented on GitHub (Apr 2, 2025):
@planwk Which model and provider do you use?Can you take a screenshot ?
@junjiem commented on GitHub (Apr 2, 2025):
Same #636