I’m running a graph with the architecture below, by which it should only execute the node get_product_id until a tool_condition calls it out of the React flow, and then it should go on with route_decision.
But I’m getting an error:
InvalidUpdateError("At key ‘route’: Can receive only one value per step. Use an Annotated key to handle multiple values.\nFor troubleshooting, visit: INVALID_CONCURRENT_GRAPH_UPDATE ")Traceback (most recent call last):
When I look at the tracing (copied also below) I see that the get_product_id node gets executed again, later, causing the key issue (that’s my guess…). Any ideas what might be happening?
I’m using a custom state that inherits from MessageState and adds other keys.
