963 Commits

Author SHA1 Message Date
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
2024-10-25 23:17:06 -07:00
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>
2024-10-25 10:57:04 -07:00
Victor Dibia
0756ebd63d
Update Magentic-one readme with images (#3958) 2024-10-25 09:51:43 -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
c4492ca043
Allow callable to be used as registered_tools in ToolUseAssistantAgent. (#3891)
* Allow callable to be used as `registered_tools` in `ToolUseAssistantAgent`.

* fix
2024-10-22 13:27:06 -07: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
Eric Zhu
1700b9c61a
Update group chat documentation in core to use selector group chat and tool call for illustrator (#3815)
* Update group chat documentation in core to use selector group chat and tool call for illustrator

* Update notebook

* Update group chat with illustration

* Remove embedded fonts in svg

---------

Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-10-19 00:13:51 +02:00
Taylor Rockey
aa68f08133
Create Semantic Router example (#3813)
* Create Semantic Router example

* ruff formatting

* linting fixes

* pyright fixes

---------
2024-10-18 11:07:38 -07:00
Eric Zhu
18ead479c9
Update figures to make them compatible with dark mode (#3840)
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-10-18 19:09:42 +02:00
Eric Zhu
4935472c5e
Remove unused sample script (#3841) 2024-10-18 10:41:30 -04:00
Hussein Mozannar
e11d84b996
Adding Benchmarks to agbench (#3803)
* Move from tomllib to tomli

* added example code for magentic-one + code comments

* adding benchmarks temporarily

* add license for datasets

* revert changes to magentic-one

* change license location

---------

Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-10-18 06:33:33 +02:00
Jack Gerrits
b09e6777a4
Restructure extensions, update corresponding docs (#3826)
* Restructure extensions, update corresponding docs

* update tests, add deprecation messages

* fix tests

* update lockfile

---------
2024-10-17 15:06:16 -07:00
Jack Gerrits
ed50ba4548
Use sha256 for hashing (#3829)
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-10-17 10:33:18 -07:00
Hussein Mozannar
50cd4cca65
Magentic one example (#3802)
* Move from tomllib to tomli

* added example code for magentic-one + code comments

* remove added package

* make checks pass

* README for magentic-one examples

* typo fix

---------
2024-10-17 10:09:14 -07:00
Max Golovanov
636591a149
Use MCR registry instead of Docker's registry (#3814)
* Update FunctionCallGenerator.cs to address race condition

Update FunctionCallGenerator.cs to address race condition

* Update Dockerfile

Use MCR registry

* Update Dockerfile

Use MCR registry
2024-10-17 07:08:50 -07:00
Ryan Sweet
460a6817ea
refactoring the dotnet folder and namespace structure for better long term maintenance and clarity #3809 (#3810)
closes #3809 - refactor .NET code foldersand namespaces for better clarity and maintainability
2024-10-16 20:09:39 -07:00
Jack Gerrits
a6f022958f
Update version to dev1 (#3791)
* Update version to dev1

* lockfile

* update tilde
2024-10-14 16:01:18 -07:00
Jack Gerrits
1ecb451b04
Fill spelling mistake (#3786) 2024-10-14 13:46:31 -07:00
Jack Gerrits
17af38dc6a
Add work in progress message to agentchat on home (#3784) 2024-10-14 09:29:42 -07:00
Eric Zhu
6f5bdd2c28
Create a notebook to demonstrate handoff pattern (#3778) 2024-10-14 07:35:00 -07:00
Eric Zhu
5140a23fef
Update indexes for better navigation (#3779)
* Update indexes for better navigation

* Fix link

* Fix link
2024-10-13 19:46:06 -07:00
Sunil Sattiraju
a106229568
Support structured output (#3732)
* Support structured output

* use ruff format

* add type checking for cookbook

* add the notebook to index.md

* fix the type error

* pass response_format explicitly

* remove casting

* ensure type are correct

* seperate response_format arg

* fix type and resolve pyright errors

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-13 14:28:53 -07:00
Eric Zhu
43ccc811e0
Make sure exceptions in process publish is logged. (#3774) 2024-10-13 12:12:24 -07:00
vikas434
a45d97c82f
Correcting Typo in README.md (#3770) 2024-10-12 08:10:31 -07:00
Hussein Mozannar
373adc9a34
Adding Benchmarks back into agbench and updates to agbench (#3711) 2024-10-11 15:46:18 -07:00
Jack Gerrits
373e14ec25
Add initial extensions doc page (#3762) 2024-10-11 10:57:03 -07:00
Leonardo Pinheiro
c765a34cbf
Move docker code exec to autogen-ext (#3733)
* move docker code exec to autogen-ext

* fix test

* rename docker subpackage

* add missing renamed package

---------

Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
2024-10-11 09:28:15 -07:00
afourney
e1e9d19cb4
Skip Bing tests when no API key is present. (#3757)
* Skip Bing pytests when no API key is present.

* Fixed formatting.

---------

Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-10-11 09:07:31 -07:00
Eric Zhu
e5e3f11275
Update quick start examples to illustrate how to set up model client completely (#3739) 2024-10-10 14:14:26 -07:00
afourney
a4bd8cf992
The /python/benchmarks folder simply contained a note indicating that the benchmarks were moved. This commit deletes this note and directory. (#3735) 2024-10-10 13:55:22 -07:00
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
2024-10-09 16:02:42 -07:00
Eric Zhu
d7ae970c87
Changing URL; update description; removing v0.2 file (#3729) 2024-10-09 15:54:35 -07:00
Eric Zhu
dd0d238b43
Fix browser test (#3730) 2024-10-09 15:51:26 -07:00