The out of the box agent in langchain v1 can orchestrate parallel tool calls improving speed while maintaining accuracy. Problem is however that the ToolMessages are now returned asynchronously, the astream_events_handler however just appends it to the current tool status box.
We need to use tool call ids to map the tool outputs to the correct status box.
The out of the box agent in langchain v1 can orchestrate parallel tool calls improving speed while maintaining accuracy. Problem is however that the ToolMessages are now returned asynchronously, the astream_events_handler however just appends it to the current tool status box.
We need to use tool call ids to map the tool outputs to the correct status box.