mirror of
https://github.com/langgenius/dify.git
synced 2026-04-25 05:06:15 +08:00
merge feat/plugins
This commit is contained in:
@ -139,7 +139,7 @@ class ToolEngine:
|
||||
error_response = f"tool invoke error: {e}"
|
||||
agent_tool_callback.on_tool_error(e)
|
||||
except ToolEngineInvokeError as e:
|
||||
meta = e.args[0]
|
||||
meta = e.meta
|
||||
error_response = f"tool invoke error: {meta.error}"
|
||||
agent_tool_callback.on_tool_error(e)
|
||||
return error_response, [], meta
|
||||
|
||||
Reference in New Issue
Block a user