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

BaseChatAgent should implement run method. #3852

Closed
ekzhu opened this issue Oct 20, 2024 · 0 comments · Fixed by #3913
Closed

BaseChatAgent should implement run method. #3852

ekzhu opened this issue Oct 20, 2024 · 0 comments · Fixed by #3913
Assignees
Milestone

Comments

@ekzhu
Copy link
Collaborator

ekzhu commented Oct 20, 2024

What feature would you like to be added?

The BaseChatAgent should have a run method just like team.

agent = ToolUseAgent(...)
result = agent.run("What's the weather like today?")

Why is this needed?

  1. Simpler API, avoid the need to create a RoundRobinGroupChat with a single agent in it
  2. More coherent concept around nesting.
@ekzhu ekzhu added this to the 0.4 milestone Oct 20, 2024
@ekzhu ekzhu changed the title BaseChatAgent should implements BaseTeam with run method. BaseChatAgent should implements run method. Oct 20, 2024
@ekzhu ekzhu changed the title BaseChatAgent should implements run method. BaseChatAgent should implement run method. Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants