GitHub user da-daken added a comment to the discussion: Parallel Tool Call 
Execution

Thank you for sharing your thoughts. Before considering the addition of 
executeAllAsync, I had also thought about the action/event pattern you 
mentioned. However, I believe that tool calls are essentially method 
invocations, and developers may also need to execute methods in parallel, 
possibly with persistence requirements. I was concerned that adopting an 
event‑driven approach might be a bit heavy for this use case, so I eventually 
proposed adding executeAllAsync at the API level. That said, the event‑driven 
pattern combined with fan‑in/fan‑out does look promising for multi‑agent 
scenarios.
But of course, this is just my two cents – happy to hear any corrections or 
better ideas!

GitHub link: 
https://github.com/apache/flink-agents/discussions/855#discussioncomment-17593935

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to