Gerardo Moreno
1b2d42d420
Termination Conditions Tutorial ( #4334 ) ( #4339 )
* Termination Conditions Tutorial (#4334 )
* Fix format
* Update python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/tutorial/termination.ipynb
* Update python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/tutorial/termination.ipynb
* Update python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/tutorial/termination.ipynb
* update docs
* update doc
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
1 year ago
Victor Dibia
0ff1687485
Add UserProxyAgent in AgentChat API ( #4255 )
* initial addition of a user proxy agent in agentchat, related to #3614
* fix typing/mypy errors
* format fixes
* format and pyright checks
* update, add support for returning handoff message, add tests
---------
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Hussein Mozannar <hmozannar@microsoft.com>
1 year ago
Thai Nguyen
0b5eaf1240
Agent name termination ( #4123 )
1 year ago
Gerardo Moreno
232068a245
Add system msg when calling inside the assistant tool loop ( #4308 ) ( #4309 )
1 year ago
Eric Zhu
3c1ec7108a
Misc doc fixes ( #4300 )
* Misc doc fixes
* Update _console.py
---------
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
1 year ago
Eric Zhu
6e4609a76e
External termination condition ( #4294 )
1 year ago
Gerardo Moreno
8593b7df9f
Console to return last processed message ( #4279 )
* Console to return last processed (#4277 )
* Preserve input generator type
* Add tests
* format
---------
Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
1 year ago
Eric Zhu
2b7658a9da
Move openai assistant agent to autogen-ext; add on_messages_stream ( #4268 )
1 year ago
Leonardo Pinheiro
df32d5e1d1
OpenAI Assistants Agent ( #4131 )
* initial assistant client draft
* expose assistants client
* initial openai assistant agentchat draft
* update file search
* add delete methods and fix typing
* add tool execution
* fix tool call and add docstring
* abstract tools and support thread management
* add tests
* removed unused typevars
* add unsaved test changes
* test typing fixes
---------
Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
1 year ago
Eric Zhu
f1daff1582
AgentChat task message type and group chat state validation for Swarm ( #4230 )
* task can be ChatMessage; add group chat state validation step, and address swarm state valiation; change handling of start and reset to RPC to capture any error.
* Update tutorial note
1 year ago
Eric Zhu
5da24e51e0
Console pretty print for on_messages_stream ( #4239 )
* Console pretty print for on_messages_stream
* Update doc
* Update docs
1 year ago
Eric Zhu
4aec53c36f
Improve agentchat tutorial ( #4233 )
1 year ago
Eric Zhu
d213c1c061
Remove quotes from TERMINATE in assistant agent's default system message ( #4231 )
1 year ago
Jack Gerrits
d55e68fc29
Support iterm inline image protocol in console output ( #4200 )
* Support iterm inline image protocol in console output
* fix lint
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
1 year ago
Gerardo Moreno
8d89500255
Timeout Termination ( #4038 ) ( #4214 )
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
1 year ago
Eric Zhu
78019dd2dc
Fix-swarm-handoff ( #4198 )
* fix select speaker for swarm
* Fix max-turn = 1 for swarm
1 year ago
afourney
4073dd4efb
Have Console print multimodal messages nicely. ( #4179 )
1 year ago
afourney
a27a130b45
Initial work on ledger orchestrator. ( #4164 )
* Initial work on magentic-one orchestrator port.
1 year ago
Eric Zhu
233e482c7b
Max turn parameter for group chats ( #4143 )
* Max turn parameter for group chats
* Add note no usage
1 year ago
Eric Zhu
e27c740961
dev6 ( #4129 )
1 year ago
Eric Zhu
4786f189bc
Handoff termination and show how to use it for asking user input ( #4128 )
* Handoff termination and show how to use it for asking user input
* lint
1 year ago
Eric Zhu
5547a6716e
auto reset termination when a run stops ( #4126 )
1 year ago
Eric Zhu
1cc0f4f7c5
dev5 ( #4124 )
1 year ago
Eric Zhu
8f7c717149
reset --> on_reset :D ( #4121 )
1 year ago
Eric Zhu
f40b0c2730
Add Console function to stream result to pretty print console output ( #4115 )
1 year ago
Eric Zhu
3f28aa8874
SocietyOfMind agent for nested teams ( #4110 )
* Initial implementation of SOM agent
* add tests
* edit prompt
* Update prompt
* lint
1 year ago
Eric Zhu
5fa38b0166
Add task type that are messages to enable multi-modal tasks. ( #4091 )
* Add task type that are messages to enable multi-modal tasks.
* fix test
1 year ago
Eric Zhu
2e3155be2a
AgentChat pause, resume, and reset ( #4088 )
* AgentChat pause and resume a task
Resolves #3859
* Add
* Update usage
* Update usage
* WIP to address stateful group chat
* Refactor group chat to add reset and flags for running
* documentation
1 year ago
Eric Zhu
4be1c9cf76
Update Python version to 0.4.0.dev4 ( #4068 )
* Update version to dev4
1 year ago
Eric Zhu
5be7ac7b12
Move reset from a message to a command ( #4073 )
1 year ago
Eric Zhu
c3283c64a3
Agentchat refactor ( #4062 )
* Agentchat refactor
* Move termination stop message to a separate field in task result
* Update quick start example
* Use string stop reason instead of stop message in task result for simpler API
* Use main function
1 year ago
Eric Zhu
16e64c4c10
Rename `model_usage` to `models_usage`. ( #4053 )
1 year ago
Eric Zhu
4e5f3ababe
Update version to 0.4.0.dev3 ( #4043 )
1 year ago
Eric Zhu
4fec22ddc5
Team termination condition sets in the constructor ( #4042 )
* Termination condition as part of constructor
* Update doc
* Update notebooks
1 year ago
Eric Zhu
27ea99a485
Add token usage termination ( #4035 )
* Add token usage termination
* fix test
1 year ago
Eric Zhu
ca7caa779d
Add token usage to messages ( #4028 )
* Add token usage to messages
* small test edit
1 year ago
Eric Zhu
c3b2597e12
AssistantAgent no longer sends out StopMessage. We use TextMentionTermination("TERMINATE") on the team instead for default setting. ( #4030 )
* AssistantAgent no longer sends out StopMessage. We use TextMentionTermination("TERMINATE") on the team instead for default setting.
* Fix test
1 year ago
Eric Zhu
173acc6638
Custom selector function for SelectorGroupChat ( #4026 )
* Custom selector function for SelectorGroupChat
* Update documentation
1 year ago
Eric Zhu
369ffb511b
Remove termination condition from team constructor ( #4025 )
* Remove termination condition from team constructor
* fix usage
1 year ago
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