| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
58a5583549
|
feat: Pause and Resume for AgentChat Teams and Agents (#5887)
1. Add `on_pause` and `on_resume` API to `ChatAgent` to support pausing behavior when running `on_message` concurrently. 2. Add `GroupChatPause` and `GroupChatResume` RPC events and handle them in `ChatAgentContainer`. 3. Add `pause` and `resume` API to `BaseGroupChat` to allow for this behavior accessible from the public API. 4. Improve `SequentialRoutedAgent` class to customize which message types are sequentially handled, making it possible to have concurrent handling for some messages (e.g., `GroupChatPause`). 5. Added unit tests. See `test_group_chat_pause_resume.py` for how to use this feature. What is the difference between pause/resume vs. termination and restart? - Pause and resume issue direct RPC calls to the participanting agents of a team while they are running, allowing putting the on-going generation or actions on hold. This is useful when an agent's turn takes a long time and multiple steps to complete, and user/application wants to re-evaluate whether it is worth continue the step or cancel. This also allows user/application to pause individual agents and resuming them independently from the team API. - Termination and restart requires the whole team to comes to a full-stop, and termination conditions are checked in between agents' turns. So termination can only happen when no agent is working on its turn. It is possible that a termination condition has reached well before the team is terminated, if the agent is taking a long time to generate a response. Resolves: #5881 |
1 year ago |
|
|
2b878763f8
|
Move grpc runtimes to ext, flatten application (#4553)
* Move grpc runtimes to ext, flatten application * rename to grpc * fmt |
1 year ago |
|
|
3022369eeb
|
Flatten core base and components (#4513)
* Flatten core base and components * remove extra files * dont export from deprecated locations * format * fmt |
1 year ago |
|
|
f326b36242
|
Documentation tweaks (#3705)
* Add extension to handle pydantic docs * Docs tweaks --------- Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com> |
1 year ago |
|
|
54eaa2bb4e
|
Move tools to agent in `agentchat`; refactored logging to support tool events (#3665)
* Move tool to agent; refactor logging in agentchat * Update notebook |
1 year ago |
|
|
0fa680577e
|
Sequential processing for group chat participant using SequentialRoutedAgent (#663) | 1 year ago |