Eric Zhu
cff7d842a6
AgentChat streaming API ( #4015 )
1 year ago
Eric Zhu
3d51ab76ae
Formalize `ChatAgent` response as a dataclass with inner messages ( #3990 )
1 year ago
Eric Zhu
4a49844996
`ChatAgent` declares the types of messages it produces ( #3991 )
* `ChatAgent` declares the types of messages it produces
1 year ago
Victor Dibia
75b00e76e1
Agentchat move termination ( #3992 )
1 year ago
Eric Zhu
bd9c371605
Add `ResetMessage` to clear the agent state ( #3988 )
* Reset message to clear agent state
* format and lint
1 year ago
Eric Zhu
eb4b1f856e
Ability to generate handoff message from AssistantAgent ( #3968 )
* Ability to generate handoff message from AssistantAgent
* Fix mypy
* Validation
---------
Co-authored-by: Victor Dibia <victordibia@microsoft.com>
1 year ago
Eric Zhu
3fe0f9e97d
Add AssistantAgent, deprecate CodingAssistantAgent and ToolUseAssistantAgent ( #3960 )
* Add AssistantAgent, deprecate CodingAssistantAgent and ToolUseAssistantAgent
* Rename
* Add note
* Update uv
* uf lock
* Merge branch 'main' into assistant-agent
* Update uv
1 year ago
Eric Zhu
f31ff66368
Refactor agent chat to prepare for handoff/swarm ( #3949 )
Add handoff message type to chat message types
Add Swarm group chat that uses handoff message to select next speaker
Remove tool call and tool call result message types from chat message types
Remove BaseToolUseChatAgent, move tool call handling from group chat's chat agent container upward to the ToolUseAssistantAgent implementation, which subclasses BaseChatAgent directly.
Renaming for better clarity
---------
Co-authored-by: Victor Dibia <victordibia@microsoft.com>
1 year ago
Eric Zhu
1812cc068d
Refactor agentchat +implement base chat agent run method ( #3913 )
1 year ago
Jack Gerrits
0811102ed7
Update all versions to match normalized dev scheme ( #3909 )
1 year ago
Eric Zhu
6c0d0db9cc
Update dev version ( #3900 )
* Update dev version
* Update uv
* C#
* update versions
---------
Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
1 year ago
Eric Zhu
c4492ca043
Allow callable to be used as `registered_tools` in `ToolUseAssistantAgent`. ( #3891 )
* Allow callable to be used as `registered_tools` in `ToolUseAssistantAgent`.
* fix
1 year ago
Eric Zhu
8a4930a9be
Refactor agentchat to separate base interfaces from implementations ( #3877 )
1 year ago
Jack Gerrits
dbd65c05a4
Add __version__ to new packages ( #3881 )
1 year ago
Leonardo Pinheiro
38f62e1609
migrate models ( #3848 )
* migrate models
* Update python/packages/autogen-agentchat/src/autogen_agentchat/agents/_tool_use_assistant_agent.py
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* refactor missing imports
* ignore type check errors
* Update python/packages/autogen-ext/src/autogen_ext/models/_openai/_model_info.py
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* update packages index page
---------
Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
1 year ago
Jack Gerrits
a6f022958f
Update version to dev1 ( #3791 )
* Update version to dev1
* lockfile
* update tilde
1 year ago
Eric Zhu
498854aed3
Use script-friendly example in README and quickstart ( #3728 )
* Use script-friendly example in README and quickstart
* Remove accidentally commited file
* Update instruction
1 year ago
Eric Zhu
d7ae970c87
Changing URL; update description; removing v0.2 file ( #3729 )
1 year ago
Eric Zhu
8c5150b1d4
Refactor logging in agentchat ( #3709 )
* Refactor logging in agentchat
* fix notebook
---------
Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
1 year ago
Jack Gerrits
2526c69ce9
Include license file in package ( #3703 )
1 year ago
Jack Gerrits
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
Eric Zhu
64365b6835
Termination condition for agentchat teams ( #3696 )
* Update PR link in blog post (#3602 )
* Update PR link in blog post
* Update index.mdx
* Create CI to tag issues with needs triage (#3605 )
* Update issue templates (#3610 )
* Update config.yml
* Delete .github/ISSUE_TEMPLATE.md
* Delete .github/ISSUE_TEMPLATE/general_issue.yml
* Update feature_request.yml
* Update feature_request.yml
* Update feature_request.yml
* Update feature_request.yml
* Update bug_report.yml
* Update .github/ISSUE_TEMPLATE/bug_report.yml
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/config.yml
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* Update bug_report.yml
* Update config.yml
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* termination condition
* Termination condition
* termination condition in group chat manager
* Update module import
* Fix logging
* Clean up
* Fix doc string
---------
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
1 year ago
Eric Zhu
ffb16d560a
Set logging of internal messages to debug ( #3694 )
* Set logging of internal messages to debug
* Fix worker runtime tests
1 year ago
Eric Zhu
02ced7c6b3
Selector group chat that uses LLM to select the next speaker ( #3680 )
* Selector group chat that uses LLM to select the next speaker
* Merge remote-tracking branch 'origin/staging' into selector-groupchat
* Add allow_repeated_speaker option
* Add test for allowed_repeated_speaker=True
* Example for selector group chat
* format
* Rename and index
* title for notebook
* Merge remote-tracking branch 'origin/staging' into selector-groupchat
1 year ago
Eric Zhu
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
Eric Zhu
25d006c09e
Add staging to workflow target; fix circular imports in autogen_agentchat ( #3651 )
* Fix formatting and remove duplicated import of EVENT_LOGGER_NAME in agentchat
* add staging to target in checks
* add staging to target in checks for dotnet
* Fix circular imports
1 year ago
Victor Dibia
d4078a722a
move logging module to root of agent_chat
1 year ago
Victor Dibia
13c135100f
make logging independent module
1 year ago
Victor Dibia
b0b0825c1d
add logging to agentchat
1 year ago
Leonardo Pinheiro
7fade2d5e7
Return message history in agentchat ( #661 )
* update TeamRunResult
* fix line ending in test
* lint
* update team result to list[chatmessage]
---------
Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
1 year ago
Jack Gerrits
af2b5faeef
Update package versions
1 year ago
Eric Zhu
b2db45d673
Tool use in agentchat ( #664 )
* Tool use in agentchat
* Update link
* doc string
1 year ago
Eric Zhu
0fa680577e
Sequential processing for group chat participant using SequentialRoutedAgent ( #663 )
1 year ago
Eric Zhu
18efc2314a
Use agentchat message types rather than core's model client message types ( #662 )
* Use agentchat message types rather than core's model client message types
* Merge remote-tracking branch 'origin/main' into ekzhu-tool-use-assistant
1 year ago
Eric Zhu
00289912da
Associate agent container and message types to group chat behavior protocol ( #651 )
* Agent container and message types is part of a group chat team behavior protocol.
* lint
1 year ago
Eric Zhu
7ba99186fb
Initial implementation of agentchat ( #623 )
* WIP implementation for agentchat
* WIP
* WIP
* wip
* WIP
* WIP
* WIP
* WIP
* fix types
* format
* fix build
* Fix build
* use a simpler implementation of thread -- list
* Select speaker to return speaker topic type
* add parent topic type to agent container
* Address comments
* Add check to make sure agent id is constant in a team run.
* Fix build
1 year ago
Jack Gerrits
6bf62262a4
fix config for pyright for most ( #561 )
1 year ago
Jack Gerrits
a815935062
Add agentchat lib boilerplate ( #493 )
* Add agentchat lib
* update lockfile
1 year ago