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

Refactor agentchat +implement base chat agent run method #3913

Merged
merged 6 commits into from
Oct 24, 2024
Merged

Conversation

ekzhu
Copy link
Collaborator

@ekzhu ekzhu commented Oct 23, 2024

Resolves #3852

  1. Separate ChatAgent interface from BaseChatAgent implementation. ChatAgent will be in autogen_agentchat.base and BaseChatAgent will be in autogen_agentchat.agents.
  2. Create autogen_agentchat.task module, and move termination condition implementations to there.
  3. Implement BaseChatAgent.run method using round robin group chat.

Future TODOs:

  1. Consider unifying BaseChatAgent and BaseToolUseChatAgent`, makes tools optional.

@ekzhu ekzhu marked this pull request as ready for review October 23, 2024 19:53
@ekzhu ekzhu merged commit 1812cc0 into main Oct 24, 2024
37 checks passed
@ekzhu ekzhu deleted the agent-run branch October 24, 2024 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BaseChatAgent should implement run method.
2 participants