Feat: continue on error (#11458)
Co-authored-by: Novice Lee <novicelee@NovicedeMacBook-Pro.local> Co-authored-by: Novice Lee <novicelee@NoviPro.local>
This commit is contained in:
parent
bec5451f12
commit
79a710ce98
31 changed files with 1211 additions and 80 deletions
|
|
@ -56,6 +56,7 @@ class ToolNode(BaseNode[ToolNodeData]):
|
|||
NodeRunMetadataKey.TOOL_INFO: tool_info,
|
||||
},
|
||||
error=f"Failed to get tool runtime: {str(e)}",
|
||||
error_type=type(e).__name__,
|
||||
)
|
||||
|
||||
# get parameters
|
||||
|
|
@ -89,6 +90,7 @@ class ToolNode(BaseNode[ToolNodeData]):
|
|||
NodeRunMetadataKey.TOOL_INFO: tool_info,
|
||||
},
|
||||
error=f"Failed to invoke tool: {str(e)}",
|
||||
error_type=type(e).__name__,
|
||||
)
|
||||
|
||||
# convert tool messages
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue