Skip to content

LanGraph expects exception ToolInvocationError when the invokation in a ToolNode #368

@jgomezve

Description

@jgomezve

I created this issue in LangGraph but I am not sure where should it be fixed

langchain-ai/langgraph#6449

In this

raise ToolException(tool_content)
why isn't the ToolInvocationError Exception raised.

This is the one LangGraph currenlt expects, see https://github.com/langchain-ai/langgraph/blob/056ba91a7147fb443c2ae26092b9a4f206d9a91c/libs/prebuilt/langgraph/prebuilt/tool_node.py#L353

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions