mirror of
https://github.com/langgenius/dify.git
synced 2026-03-16 20:37:42 +08:00
chore: better debug message
This commit is contained in:
@ -175,7 +175,7 @@ class FunctionCallStrategy(AgentPattern):
|
||||
elif isinstance(output_text, str):
|
||||
output_payload = output_text
|
||||
else:
|
||||
raise ValueError("Final output is not a string or structured data.")
|
||||
raise ValueError(f"Final output ({final_tool_args}) is not a string or structured data.")
|
||||
|
||||
return AgentResult(
|
||||
output=output_payload,
|
||||
|
||||
Reference in New Issue
Block a user