2822 Commits

Author SHA1 Message Date
Zoltan Lux
780523f10f
Add OpenAI Gemini Example for VertexAI Notebook (#3290)
* add openai-gemini example

* fix exec numbering

* improve isntructions

* fix br  tag

* mention roles/aiplatform.user and fix markdown reference

* remove mentioning the editor role, and only use the Vertex AI User role

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-08-17 22:17:38 +00:00
Eric Zhu
eb4a5b7df5 update readme and add CHANGELOG.md (#368)
* update readme

* Add change log
2024-08-17 06:05:18 +00:00
Jack Gerrits
853b00b0f0 Add message context to message handler (#367)
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-08-17 03:14:09 +00:00
gagb
b3e4e7045b
Update README.md to use camera-ready (#3370) 2024-08-16 23:40:38 +00:00
Olaoluwa Ademola Salami
702462e0f1
adding a new page Function comparison between Python AutoGen and Auto… (#3367)
* adding a new page Function comparison between Python AutoGen and AutoGen\.Net

* add page to autogen website
2024-08-16 21:37:52 +00:00
Mark Sze
fa273961f6
Update Mistral client class to support new Mistral v1.0.1 package (#3356)
* Update Mistral client class to support new Mistral v1.0.1 package

* Remove comments

* Refactored assistant/system role order, tidied imports and comments

---------

Co-authored-by: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com>
2024-08-16 20:55:36 +00:00
Henry Kobin
3fc708d53e
Missing backticks breaking documentation (#3357) 2024-08-16 05:53:11 +00:00
Li Jiang
08fa1b6d08
Remove dependency on RetrieveAssistantAgent for RetrieveChat (#3320)
* Remove deps on RetrieveAssistantAgent for getting human input

* Terminate when no more context

* Add deprecation warning message

* Clean up RetrieveAssistantAgent, part 1

* Update version

* Clean up docs and notebooks
2024-08-15 16:03:06 +00:00
peterychang
bc26ec3de4 Azure container code execution (#346)
* Azure container code execution

* fix check errors. Remove unnecessary file

* add TokenProvider class

* update deps

* addressing PR comments

* update docstring

* switch to aiohttp

* fix client timeout
2024-08-14 10:41:49 -04:00
Chaitanya Belwal
736d5e72bc
Updated Program.cs for Autogen.BasicSample to give a menu driven window making it easier to run variou Agent config. (#3346) 2024-08-13 17:04:04 +00:00
Wael Karkoub
6682b6d2d0
Removes Support For TransformChatHistory and CompressibleAgent (#3313)
* remove old files

* removes ci

* removes faq

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-08-13 03:28:02 +00:00
Qingyun Wu
afdaa4c7cb
version (#3343) v0.2.34 2024-08-12 19:34:47 +00:00
Umer Mansoor
2a436c90e6
Add latest gpt-4o model: gpt-4o-2024-08-06 (#3329)
Co-authored-by: Xiaoyun Zhang <bigmiao.zhang@gmail.com>
2024-08-12 01:42:37 +00:00
Xiaoyun Zhang
f49ed29b4e
[.Net][AutoGen.DotnetInteractive] add DotnetInteractiveStdioConnector (#3337)
* add DotnetInteractiveStdioCOnector

* update

* update

* comment out DotnetInteractive test

* add header

* update
2024-08-10 01:53:48 +00:00
gagb
698a8f374b Catch json decode error in file surfer (#352)
* Remove commented code

* Removed unused code

* Add try except to catch json decode error

---------

Co-authored-by: afourney <adam.fourney@gmail.com>
2024-08-08 23:10:31 -07:00
gagb
30631c7624 Add pandas a dependency (#353) 2024-08-08 22:49:00 -07:00
Gaoxiang Luo
972b4ed024
Fix message history limiter for tool call (#3178)
* fix: message history limiter to support tool calls

* add: pytest and docs for message history limiter for tool calls

* Added keep_first_message for HistoryLimiter transform

* Update to inbetween to between

* Updated keep_first_message to non-optional, logic for history limiter

* Update transforms.py

* Update test_transforms to match utils introduction, add keep_first_message testing

* Update test_transforms.py for pre-commit checks

---------

Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-08-09 03:14:34 +00:00
Manojkumar Kotakonda
fb788c37d2
Fix to issue #3295 related to Anthropic bedrock (#3298)
* Fix to consider session token in request

* Formatted

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-08-09 03:14:17 +00:00
Li Jiang
1971f85ded
Add last_speaker to GroupChatManager (#3318)
* Add last_speaker to GroupChatManager's property

* Add docstring for last_speaker

* Format docstring
2024-08-09 03:06:15 +00:00
Alexander Lundervold
dcccaa8b6b
fix broken link to conversational chess example (#3327)
Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>
2024-08-09 03:03:26 +00:00
Aamir
aac6f05117
Support async nested chats (#3309)
* Allow async nested chats in agent chat

* Fix pre-comit

* Minor fix

* Fix

* Address feedback

* Update

* Fix build error

---------

Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
2024-08-09 01:14:33 +00:00
Xiaoyun Zhang
4dab28c769
[.Net] Add AutoGen.AzureAIInference (#3332)
* add AutoGen.AzureAIInference

* add tests

* update readme

* fix format
2024-08-08 23:33:14 +00:00
afourney
7b99b84dab Moved the benchmarks to another repo. (#349) 2024-08-08 11:43:55 -07:00
afourney
2e7d984b05 Updated agbench to find agnext via environment variable to facilitate running from magentic. (#348) 2024-08-08 11:25:08 -07:00
afourney
365d21b55e Fixed numerous issues with orchestrator, related to 342 (#344)
* Fixed numerous issues with orchestrator, related to 342'

* Refined prompts, and added max wall-clock time to orchestrators.

* Fixed formatting.
2024-08-08 11:15:57 -07:00
Xiaoyun Zhang
5732b3e766
[.Net] add DotnetInteractiveKernelBuilder to AutoGen.DotnetInteractive (#3317)
* add DotnetInteractiveBuilder

* update

* fix workflow

* add pwsh test

* update

* add extract code extension

* update workflow
2024-08-08 17:49:58 +00:00
Kosta Petan
a1221d46d2 remove Dapr sample/implementation (#345)
Co-authored-by: Kosta Petan <Kosta.Petan@microsoft.com>
2024-08-08 14:17:41 +00:00
Eric Zhu
4da05734de Add cookbook for openai assistant agent. Reformat (#343)
* Add cookbook for openai assistant agent. Reformat

* update index

* add requests

* type requests
2024-08-08 00:14:18 -07:00
Enhao Zhang
91e55d8a16 check ledger formatting (#327)
* check ledger formatting

* format file

* format file

* rename agent metadata field 'name'-->'type'

---------

Co-authored-by: Enhao Zhang <t-enhaozhang@microsoft.com>
2024-08-07 17:01:07 -07:00
Jack Gerrits
33649c3e08 Notebook checks (#333)
* add checks for notebooks

* format

* Fix mypy

* format

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-08-07 14:38:44 -07:00
afourney
c7f5931dc8 Reverts TeamOne prompts to those used in Autogen experiments. (#331)
* Revised prompts to match autogen experiments.

* Handle sh code blocks

* Move executor prompt into coder.py

* Fixed formatting.
2024-08-07 13:52:45 -07:00
Jack Gerrits
39489ba395 Rename fields in agent metadata (#336)
* Rename fields in agent metadata

* team one fixes

* another fix
2024-08-07 13:08:13 -07:00
Jack Gerrits
437dbefc32 Rename fields in agent id (#334)
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-08-07 10:25:44 -07:00
Jack Gerrits
9f0bdb154c Use mystnb for notebook rendering (#332)
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-08-07 16:25:27 +00:00
afourney
ecde17a255 Re-added multimodality to mdconvert. (#330)
* Re-added multimodality to mdconvert.

* Fixed formatting.
2024-08-07 07:14:47 -07:00
Eric Zhu
1531a448ad Doc: multi-agent design pattern (#329)
* Doc: multi-agent design pattern

* Fix warnings.

* mypy

* fix type

* chore: Remove unused import and checkpoint code in langgraph_agent.py
2024-08-07 07:49:28 +00:00
afourney
8b13d59b59 Initial work porting WebArena to async (#325)
* Initial work porting webarena to async

* Perhaps resolved some of the eval() issues.
2024-08-06 16:25:18 -07:00
Andreas Volkmann
027791c00b Update _model_info.py (#328)
Add gpt-4o-2024-08-06
2024-08-06 15:17:00 -07:00
Xiaoyun Zhang
cf2fe4aa78
[.Net] Fix #3306 (#3310)
* break conversation when orchestartor return null

* enable test on different OS
2024-08-06 21:59:44 +00:00
Eric Zhu
5c7bb29fb3 use myst_nb for notebook docs; create getting started tutorial (#326)
* use myst_nb for notebook docs; refactor docs to separate concepts and code tutorial

* Get started tutorial

* fix types
2024-08-06 11:37:11 -07:00
wenngong
2ab74dbfb9
avoid circular import (#3276)
Co-authored-by: gongwn1 <gongwn1@lenovo.com>
Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-08-06 16:08:10 +00:00
Li Jiang
b370170faf
Stop retrieve more docs if all docs have been returned (#3282) 2024-08-06 04:02:12 +00:00
afourney
5ff275fad9 Handle errors in the TeamOne agent's message queue handler. (#324) 2024-08-05 13:36:25 -07:00
Eric Zhu
70d3c920c3 Add support for compiling Jupyter Notebooks into documentation pages (#323)
* add notebooks for documentation

* Merge remote-tracking branch 'origin/main' into ekzhu-notebooks

* Add install

* Add to checks
2024-08-05 12:27:03 -07:00
Andreas Volkmann
efa87784cc Validate agent description, DRY metadata (#321)
* Validate desc, DRY

* Update python/src/agnext/core/_base_agent.py

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-08-05 18:07:19 +00:00
Jack Gerrits
37be630dd8 Add ID to subscription (#317) 2024-08-03 12:30:11 -04:00
Jay
03bfb8fa20
Correcting tool calling with Cohere (#3271)
* Update cohere.py

Key in the directory should be 'message' and not 'content' as it checks for message empty at a later point in code.

* Update cohere.py

Added required comments to the changes made in previous commit.
2024-08-03 15:53:59 +00:00
Eric Zhu
1c95443db5 Add Azure Active Directory auth for Python samples (#315)
* add Azure Active Directory auth for samples

* Update README
2024-08-02 16:58:15 +00:00
Xiaoyun Zhang
a375d7ac38
[.Net] Remove Azure.AI.OpenAI from AutoGen.DotnetInteractive package (#3274)
* remove Azure.AI.OpenAI dependencies

* fix build error

* revert change
2024-08-02 16:35:07 +00:00
Xiaoyun Zhang
3186bb7610
only add the last message to chat history in SendAsync (#3272) 2024-08-02 16:35:00 +00:00