mirror of
https://github.com/langgenius/dify-docs-archived.git
synced 2026-07-21 09:55:25 -04:00
使用Dify 1.0.1版本的Agent节点配置functioncalling执行异常 #108
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 @Jackie-SA on GitHub (Mar 12, 2025).
1、Agent节点配置:
2、预留执行异常:
Run failed: Failed to transform agent message: PluginInvokeError: {"args":{},"error_type":"ValidationError","message":"1 validation error for FunctionCallingParams\nmodel.entity\n Input should be a valid dictionary or instance of AIModelEntity [type=model_type, input_value=None, input_type=NoneType]\n For further information visit https://errors.pydantic.dev/2.8/v/model_type"}
请问指令格式有什么要求,如何修复这个异常问题?
@dosubot[bot] commented on GitHub (Mar 12, 2025):
Hi @Jackie-SA! I'm here to help you with any bugs, questions, and to guide you on becoming a contributor. I'm Dosu, a bot designed for these tasks.
To resolve the
ValidationErrorin Dify 1.0.1 when configuring the Agent node with the function calling strategy, ensure that your configuration adheres to the required format. Here are the key requirements:Here's an example of the correct format:
Ensure that the
modelparameter is correctly defined as a model-selector type and that all required fields are present and correctly formatted. This should help resolve theValidationErroryou are encountering [1][2][3].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
@yuanshengson commented on GitHub (Mar 24, 2025):
我想问agent节点调用工作流工具为什么显示未安装,如何确定工具是否执行
@dosubot[bot] commented on GitHub (Apr 25, 2025):
Hi, @Jackie-SA. I'm Dosu, and I'm helping the dify-docs team manage their backlog. I'm marking this issue as stale.
Issue Summary:
Next Steps:
Thank you for your understanding and contribution!