Usage of AgentExecutor in prebuilt WorkflowBuilders such as MagenticOneBuilder & GroupChatBuilder #2910
-
|
Currently the usage of AgentExecutors as participants in MagenticOne & GroupChat will result in no invoking of the AgentExecutors. I was wondering if this implementation / fix is planned for the near future. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
@TaoChenOSU will this be supported after the orchestration refactoring goes into main? |
Beta Was this translation helpful? Give feedback.
-
|
Many thanks, for some reason I thought sending a prompt with checkpoint_id didn't work, my apologies. Will try out this approach, greatly appreciate the response!! |
Beta Was this translation helpful? Give feedback.
Actually, @JensDeClercq1, as I re-read this, I have some thoughts to share. The approach you're trying is more complex than needed - the builders handle the wrapping for you. The idea is to pass agents directly, not AgentExecutor instances:
The builders automatically wrap
AgentProtocolinstances inAgentExecutorinternally. When you pass anAgentExecutordirectly, it gets treated as a generi…