Replies: 2 comments 5 replies
-
I think you are on the right track. One thing I suggest is to implement the Another thing is this: if not messages:
return Response(chat_message=TextMessage(content="No number received!", source=self.name)) It is possible for the agent to be called repeatedly without new message, so depending on your scenario, you may want to handle that case. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks Eric.
I assume there is no other non LLM way to do this all via Team Chat? I need to spend specific messages from agent to agent ?
…________________________________
From: Eric Zhu ***@***.***>
Sent: 11 February 2025 08:58
To: microsoft/autogen ***@***.***>
Cc: Ruban Siva ***@***.***>; Author ***@***.***>
Subject: Re: [microsoft/autogen] Make a triage agent to make a decision which agent to call without using LLM in AutoGen 0.4 (Discussion #5467)
I think you are on the right track.
One thing I suggest is to implement the on_message_stream method and have the on_message method calling it. So you can stream it.
Another thing is this:
if not messages:
return Response(chat_message=TextMessage(content="No number received!", source=self.name))
It is possible for the agent to be called repeatedly without new message, so depending on your scenario, you may want to handle that case.
—
Reply to this email directly, view it on GitHub<#5467 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAJCSW6GTPUAGIIQP7C3K5D2PG3UHAVCNFSM6AAAAABWZIJF26VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMJTGY3DQNA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wanted to create a simple example of multi agents where a planning agent (agent1) decides which to agent to call next (agent 2 or agent 3). All 3 agents for this purpose would be user agents that will not use LLMs, so not using Assistant Agent.
I have looked at Handoff patterns and Swarm Teams but not sure really how to do it, they all seem to rely on Assistant Agent with LLM making the decision.
For e.g.
We have 2 agents - Agent 2 which will count down from 10 and Agent 3 which will count up to 10.
Agent 1 takes a user input of to decide which will decide which option user wants to do i.e. count down or count up
From my limited knowledge of autogen so far, I have been building custom agents based on BaseChatAgent:
Beta Was this translation helpful? Give feedback.
All reactions