-
I am trying to orchestrate a multi agent system with 7 agents - (weather_agent, summary_agent, email_agent, document_agent, calculation_agent, web_agent, orchestrator_agent). I have used selection and termination strategies from prompt like below
termination_prompt -
The selection seems to be working well but I am facing issues with the termination. I have tried the termination prompts from the samples provided in documentation or in github but nothing seems to end the chat. It continues till the rate limit is reached. I have given a different kernel to the KernelFunctionTerminationStrategy, KernelFunctionSelectionStrategy and the rest of my agents . This is how I am using the termination_function |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Tagging @crickman |
Beta Was this translation helpful? Give feedback.
-
Hello, @AyushAP8, apologies for the delay. I work on an answer for you during my day-time tomorrow. |
Beta Was this translation helpful? Give feedback.
Hi @AyushAP8, I've been looking at the code you've provided and I am not seeing anything terribly off. I'd be curious to know what is actually coming back for
result.value[0]
as part ofresult_parser=lambda result: TERMINATION_KEYWORD in str(result.value[0]).lower(),
Have you tried following the
agent_collaboration.py
sample more closely?