-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] When building Langgraph agents from scratch, Using tools with Langgraph workers results in Message Stopped -> Cannot concat object and undefined #2472
Comments
If you try modify the Worker prompt to something related to Math so that the Supervisor can correctly use the Worker, does it work? |
I have the trace here |
@HenryHengZJ same happening here. I asked the supervisor to return data, so it called a worker called "data-center" that has access to some custom tools that can perform a GET request. But I'm getting this error I'm using the docker version. |
Experiencing the similar issues. @HenryHengZJ can you elaborate how to craft prompts to have correct relationship between Supervisor/Workers? Or point to Langraph docs that describe correct use. |
reproduced. |
PR bugfix merged, will be pushing to new releases soon! |
can anyone confirm if the issue persists in v1.8.1 or resolved? |
issue still persists on 1.8.1 |
@HenryHengZJ still bugged #2557 |
Describe the bug
The demos seem to work ok. However, when building from scratch adding Tools to worker nodes results in this error.
See below
To Reproduce
Follow the most basic steps to build an Agent workflow
Expected behavior
The agent flow should be complete.
When disconnecting the tool, AgentFlow proceeds.
Screenshots
Flow
test Agents.json
Setup
npx flowise start
Additional context
I've tried all types of Tools and Chat Models. Judging by the message I'm guessing it's a problem with either a null/undefinied input to the tool, or null output.
Cannot concat object and undefined
The text was updated successfully, but these errors were encountered: