chore: enhance error message when handling PluginInvokeError (#22908)
This commit is contained in:
parent
45cebf09b0
commit
206bc4b36d
3 changed files with 47 additions and 4 deletions
|
|
@ -111,5 +111,5 @@ def test_tool_node_on_tool_invoke_error(monkeypatch: pytest.MonkeyPatch):
|
|||
assert isinstance(result, NodeRunResult)
|
||||
assert result.status == WorkflowNodeExecutionStatus.FAILED
|
||||
assert "oops" in result.error
|
||||
assert "Failed to transform tool message:" in result.error
|
||||
assert "Failed to invoke tool" in result.error
|
||||
assert result.error_type == "ToolInvokeError"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue