Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teams examples in docs for 0.4 don't use all agents in the team #4064

Closed
kmhansen opened this issue Nov 5, 2024 · 2 comments
Closed

Teams examples in docs for 0.4 don't use all agents in the team #4064

kmhansen opened this issue Nov 5, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation proj-agentchat
Milestone

Comments

@kmhansen
Copy link

kmhansen commented Nov 5, 2024

What happened?

In the examples on weather and haikus here: https://microsoft.github.io/autogen/dev/user-guide/agentchat-user-guide/tutorial/teams.html#roundrobingroupchat, only the tool_use_agent is invoked:

--------------------------------------------------------------------------- 
[2024-10-20T09:01:04.692283]:

Write a Haiku about the weather in Paris
--------------------------------------------------------------------------- 
[2024-10-20T09:01:05.961670], tool_use_agent:

Golden sun above,  
Paris basks in warmth and light,  
Seine flows in sunshine.
--------------------------------------------------------------------------- 
[2024-10-20T09:01:05.962309], Termination:

Maximal number of messages 1 reached, current message count: 1

Setting max_messages to 3, both agents are called, but there is no communication:

--------------------------------------------------------------------------- 
[2024-11-05T16:40:07.476183], tool_use_agent:

Under sunny sky,  
New York bathes in warm sunlight,  
Seventy-two dreams.  
--------------------------------------------------------------------------- 
[2024-11-05T16:40:08.273356], writing_assistant_agent:

I'm unable to fetch the current weather data for New York City. However, you can check a reliable weather website or use a weather app to get the latest forecast. Once you have the weather details, I’ll gladly help you write a Haiku based on that information.
--------------------------------------------------------------------------- 
[2024-11-05T16:40:08.273356], Termination:

Maximum number of messages 3 reached, current message count: 3

What did you expect to happen?

I would expect the example to show how both tool_use_agent and writing_assistant_agent are invoked and communicate as the docs indicate.

How can we reproduce it (as minimally and precisely as possible)?

Use the code in the docs.

AutoGen version

0.4.0.dev3

Which package was this bug in

AgentChat

Model used

gpt-4o

Python version

No response

Operating system

No response

Any additional info you think would be helpful for fixing this bug

No response

@ekzhu
Copy link
Collaborator

ekzhu commented Nov 5, 2024

Thanks @kmhansen, we will update the docs soon.

@ekzhu ekzhu added this to the 0.4.0 milestone Nov 5, 2024
@ekzhu ekzhu added documentation Improvements or additions to documentation proj-agentchat and removed needs-triage labels Nov 5, 2024
@ekzhu
Copy link
Collaborator

ekzhu commented Nov 24, 2024

The docs have been updated.

@ekzhu ekzhu closed this as completed Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation proj-agentchat
Projects
None yet
Development

No branches or pull requests

2 participants