peterychang
0afde6da69
Protobuf serializer ( #4137 )
...
* protobuf serialization in python
* remove test code
* clarify TODO
2024-11-11 14:20:15 -05:00
Eric Zhu
e27c740961
dev6 ( #4129 )
2024-11-11 00:48:05 -05:00
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
2024-11-11 00:38:52 -05:00
Eric Zhu
9f175089c5
Introduction to Teams for AgentChat ( #4120 )
...
* Add teams section
* wip don't merge
* Merge remote-tracking branch 'origin/main' into agentchat-team-tutorial
* update instruction about termination reset
* edit
* more guidline for script
2024-11-10 20:39:06 -08:00
Eric Zhu
1cc0f4f7c5
dev5 ( #4124 )
2024-11-10 21:42:22 -05:00
Eric Zhu
8f7c717149
reset --> on_reset :D ( #4121 )
2024-11-10 18:28:20 -08:00
Eric Zhu
12becdddb1
Update agentchat tutorial, refactor content ( #4118 )
...
Resolves Tutorial Chapter for Custom ChatAgent #4114 -- updated tutorial chapter on agents and custom agents
Update README example to use tool call
Added "Models" section in AgentChat tutorial.
Added place holder for Tutorial Chapter for Swarm #4113 .
2024-11-09 19:07:39 -08:00
Eric Zhu
f40b0c2730
Add Console function to stream result to pretty print console output ( #4115 )
2024-11-08 19:02:19 -08:00
Eric Zhu
111e69142b
Fix worker sample in core ( #4104 )
2024-11-08 12:18:07 -08:00
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
2024-11-07 16:00:35 -08:00
Mahesh Subramanian
2382ff9248
chore(typo): Fixing a typo in the agent identity document ( #4070 )
2024-11-06 10:07:13 -08:00
Eric Zhu
4be1c9cf76
Update Python version to 0.4.0.dev4 ( #4068 )
...
* Update version to dev4
2024-11-05 22:04:37 -08:00
Eric Zhu
5be7ac7b12
Move reset from a message to a command ( #4073 )
2024-11-05 21:40:46 -08:00
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
2024-11-05 08:07:49 -08:00
Gerardo Moreno
eca8a95c61
Remove isinstance check from FunctionTool ( #3987 ) ( #4056 )
...
* Remove isinstance check from FunctionTool (#3987 )
* Move __init__ Args to class docstring
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-11-04 16:48:57 -08:00
Eric Zhu
4e5f3ababe
Update version to 0.4.0.dev3 ( #4043 )
2024-11-01 16:08:09 -07:00
Eric Zhu
4fec22ddc5
Team termination condition sets in the constructor ( #4042 )
...
* Termination condition as part of constructor
* Update doc
* Update notebooks
2024-11-01 15:49:37 -07:00
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
2024-11-01 12:35:26 -07:00
Eric Zhu
369ffb511b
Remove termination condition from team constructor ( #4025 )
...
* Remove termination condition from team constructor
* fix usage
2024-11-01 05:50:20 -07:00
Mohammad Mazraeh
4023454c58
add simple chainlit integration ( #3999 )
2024-10-31 04:54:24 -07:00
Rohan Thacker
3c63f6f3ef
Corrected typo in get_capabilities in _model_info.py ( #4002 )
2024-10-30 13:39:45 -07:00
Eric Zhu
3d51ab76ae
Formalize ChatAgent
response as a dataclass with inner messages ( #3990 )
2024-10-30 10:27:57 -07:00
Eric Zhu
4a49844996
ChatAgent
declares the types of messages it produces (#3991 )
...
* `ChatAgent` declares the types of messages it produces
2024-10-30 05:32:11 -07:00
Victor Dibia
75b00e76e1
Agentchat move termination ( #3992 )
2024-10-29 18:37:26 -07:00
Anthony Uphof
87bd1de396
Fix: provide valid Prompt and Completion Token usage counts from create_stream ( #3972 )
...
* Fix: `create_stream` to return valid usage token counts
* documentation
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-29 16:20:03 -07:00
Gerardo Moreno
93733dbd65
Run LocalCommandLineCodeExecutor within venv ( #3977 )
...
* Run LocalCommandLineCodeExecutor within venv
* Remove create_virtual_env func and add docstring
* Add explanation for LocalCommandLineExecutor docstring example
* Enhance docstring example explanation
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-29 08:17:34 -07:00
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>
2024-10-29 08:04:14 -07:00
Ryan Sweet
14846a3e84
first draft of stateful persistence grains for each agent.... ( #3954 )
...
* adds Orleans persistence for AgentState
2024-10-28 17:28:36 -07:00
Mohammad Mazraeh
0052e8179d
Add sample distributed group chat notebook ( #3759 )
...
* first notebook for distributed rock, paper and scissors
* add distributed group chat notebook
* fix formatting
* fix pipeline issues
* fix formatting issue
* promote distributed group chat notebook into a multiple files
* fix docs
* fix docs
* fix pyright
* Apply suggestions from code review
Add PR review suggestions
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* improving group chat manager from round robin to LLM based
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* remove lfs file to fix
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* add gut back using lfs
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* re-add gif using lfs
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* remove gitattributes
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* redo git lfs add
---------
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-28 09:59:58 -07:00
Will
c06f8d3aa3
Update agents.ipynb ( #3979 )
...
a mistake about in User Guide sector
2024-10-28 08:17:49 -07:00
Leonardo Pinheiro
a626d7cf18
replace assertion with valueerror ( #3974 )
...
Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
2024-10-26 22:13:52 -07:00
Eric Zhu
1812cc068d
Refactor agentchat +implement base chat agent run method ( #3913 )
2024-10-24 05:36:33 -07:00
Jack Gerrits
e772951146
Add CSS override for banner ( #3933 )
...
* Add css override for banner
* remove merge conflict
2024-10-23 17:26:53 -04:00
Rohan Thacker
fb494534b8
Corrected framework guide docs ( #3929 )
...
* Corrected grammatical errors and typos
* Corrected formating issues
2024-10-23 13:42:40 -07:00
Jack Gerrits
8f4d5ee5ec
add comment to explain await vs run ( #3907 )
...
* add comment to explain await vs run
* update output and import
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-23 11:13:24 -07:00
Jack Gerrits
8cbfb61252
Add special case for dev latest ( #3912 )
2024-10-23 12:51:43 -04:00
Jack Gerrits
551a1ee3aa
fix broken redirect ( #3910 )
2024-10-23 09:23:08 -07:00
Jack Gerrits
0811102ed7
Update all versions to match normalized dev scheme ( #3909 )
2024-10-23 12:11:59 -04:00
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>
2024-10-23 11:24:36 -04:00
SeryioGonzalez
acce081a1f
Update topic-and-subscription.md ( #3901 )
2024-10-23 05:55:21 -07:00
Jack Gerrits
d3d736510c
Multiversion docs build ( #3842 )
...
* test multiversion build
* Work on multiversion build
* update refs
* cancel in progress
* add docs dir
* add version switcher
* add version switcher
* add preferred
* version banner and hacky value override...
* add release version
2024-10-22 17:37:10 -04:00
Eric Zhu
8a4930a9be
Refactor agentchat to separate base interfaces from implementations ( #3877 )
2024-10-22 19:23:02 +01:00
Jack Gerrits
dbd65c05a4
Add __version__ to new packages ( #3881 )
2024-10-22 19:19:40 +01:00
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>
2024-10-22 11:40:41 -04:00
Gerardo Moreno
b7509b3659
SelectorGroupChat Docs Update ( #3876 )
2024-10-22 10:39:07 +02:00
Mark Douthwaite
00e500ea90
Fix small typos in AutoGen 0.4 docs ( #3871 )
2024-10-22 10:35:20 +02:00
Victor Dibia
f747b3c884
Add Tutorial for AgentChat Docs ( #3849 )
2024-10-21 14:45:44 +02:00
Zac
4ff062d5b3
Updated gpt-4o pointer version to latest ( #3855 )
2024-10-21 13:39:09 +02:00
Eric Zhu
2e59a0db3e
Use dall-e-3 and better prompt to create character consistency for group chat image generation example ( #3847 )
...
* Use dall-e-3 and better prompt to create character consistency for group chat image generation example
* format
2024-10-19 00:04:25 -07:00
Taylor Rockey
8895e014a8
Update README.md for Sematic Router Example ( #3846 )
...
Added contributors to recognize the other devs who helped build the example
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-19 00:19:24 +02:00