Seeking help with some merge message issues when LangGraph is called in parallel

Hello there! It’s another wonderful day. Thank you so much for your guidance yesterday. I’ve optimized my code accordingly and also implemented parallel processing.:partying_face:

This is my previous flowchart:

This is the flowchart revised based on your suggestions:

Did I make those changes?

1. Based on your suggestion, I removed my empty transfer nodes because they were unnecessary.

2. I stopped using custom tool calls and switched to ToolNode(), which saves me time and helps avoid mistakes.

3. I only kept one decision node, allowing decisions for multiple tools to be called in parallel.

Thinking about your suggestion, I do feel that multiple decision nodes are redundant. The purpose of using them in parallel is to save execution time and respond to users quickly, while using separate decision nodes does not save time; only using the tools separately will save time.

4. I will also provide the node that obtains the current time as a tool for the decision node to call.

Thank you for your help; you are a very good teacher. I appreciate you taking the time to guide me. I enjoy programming and the feeling of having control over the rules, which is why I study programming. However, due to my own circumstances, I don’t have access to many courses and have been relying on the official documentation, trying to understand it on my own, which inevitably leads to some misunderstandings. Thank you for your guidance.:grinning_face: