Type error in multi agent collaboration example. #2

Closed
opened 2026-02-15 17:05:10 -05:00 by yindo · 1 comment
Owner

Originally created by @black-wine on GitHub (Jan 28, 2024).

https://github.com/langchain-ai/langgraphjs/blob/main/examples/multi_agent/multi-agent-collaboration.ipynb
I followed this example.

But as you can see in this code, BaseTool type is not exist.

https://github.com/langchain-ai/langgraphjs/blob/c9bec21560d77b209a4f4fae397f923cb545f20e/examples/multi_agent/multi-agent-collaboration.ipynb#L62

Could you help me?

There are some types that is not existed or not correct.

Originally created by @black-wine on GitHub (Jan 28, 2024). https://github.com/langchain-ai/langgraphjs/blob/main/examples/multi_agent/multi-agent-collaboration.ipynb I followed this example. But as you can see in this code, `BaseTool `type is not exist. https://github.com/langchain-ai/langgraphjs/blob/c9bec21560d77b209a4f4fae397f923cb545f20e/examples/multi_agent/multi-agent-collaboration.ipynb#L62 Could you help me? There are some types that is not existed or not correct.
yindo closed this issue 2026-02-15 17:05:10 -05:00
Author
Owner

@bracesproul commented on GitHub (Jan 29, 2024):

Hey @black-wine thanks for catching this! I just pushed a commit to fix, in the meantime you can use Tool instead

@bracesproul commented on GitHub (Jan 29, 2024): Hey @black-wine thanks for catching this! I just pushed a commit to fix, in the meantime you can use `Tool` instead
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs#2