2822 Commits

Author SHA1 Message Date
Enhao Zhang
62e5e5b88d Decrement the count of outstanding tasks before returning in the event of an exception. (#406) 2024-08-26 20:55:05 -07:00
Eric Zhu
c8084ada4e Add quick start and utils for extracting code blocks (#404)
* Add quick start and utils for extracting code blocks

* format

* Spelling
2024-08-26 17:23:27 -07:00
gagb
e6101c7a72
Update README.md (#3424)
* Update README.md

* Fix formatting errors
2024-08-26 23:04:26 +00:00
gagb
efc5ac8afb
Add studio pre-print (#3423)
* Add studio pre-print

* Fix formatting
2024-08-26 22:11:04 +00:00
Jack Gerrits
294c50db9f
Update privacy link in readme and add Consumer Health Privacy notice on website (#3422) 2024-08-26 19:17:00 +00:00
Hussein Mozannar
c779d4177b Support for Logprobs in chatcompletion (#401)
* logprobs openai support

* remove print statement

* Update _types.py

* Update _openai_client.py

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-08-26 18:18:41 +00:00
Davor Runje
c3c2126561
update contributors (#3420) 2024-08-26 16:57:30 +00:00
Jack Gerrits
dbb35fc335 Migrate to using default sub/topic (#403) 2024-08-26 07:30:28 -07:00
Kirushikesh DB
f44309bc00
Update gallery.json (#3414)
Co-authored-by: Li Jiang <bnujli@gmail.com>
Co-authored-by: gagb <gagb@users.noreply.github.com>
2024-08-26 08:31:40 +00:00
Mark Sze
ed47ec9d4b
Transform to add an agent's name into the message content (#3334)
* Initial commit with ability to add name into content with a transform

* Transforms documentation

* Fix transform links in documentation

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-08-26 07:35:27 +00:00
zcipod
3aa0528a12
fix ImportFromModule is unhashable issue (#3362)
* ImportFromModule is unhashable
This fix makes the conversion to string prior to the deduplication to avoid this issue

* add type annotation for global_imports

* meet code formatting check

---------

Co-authored-by: zcipod <zcipod@gmail.com>
Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-08-26 07:31:36 +00:00
HRUSHIKESH DOKALA
34b34d0203
Amazon Bedrock Client for AutoGen (#3232)
* intial commit for aws-bedrock

* format

* converse setup for model req-response

* Renamed to bedrock.py, updated parameter parsing, system message extraction, client class incorporation

* Established Bedrock class based on @astroalek and @ChristianT's code, added ability to disable system prompt separation

* Image parsing and removing access credential checks

* Added tests, added additional parameter support

* Amazon Bedrock documentation

* Moved client parameters to init, align parameter names with Anthropic, spelling fix, remove unnecessary imports, use base and additional parameters, update documentation

* Tidy up comments

* Minor typo fix

* Correct comment re aws_region

---------

Co-authored-by: Mark Sze <mark@sze.family>
Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>
Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-08-26 07:28:53 +00:00
Aamir
30b79ae071
Add None back to remove_termination_string (#3410)
Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-08-26 07:07:51 +00:00
New-World-2019
0b361dc37c
Update agent_chat.md;Fix broken URL (#3416)
This pull request includes a minor update to the agent_chat.md file to correct the link to the Enhanced Inference.

Co-authored-by: gagb <gagb@users.noreply.github.com>
2024-08-26 06:54:46 +00:00
Mark Sze
4c147435db
Fix for group chat resume - full chat history for each agent (#3412) 2024-08-26 05:37:33 +00:00
Mark Sze
4451632784
Ability to add MessageTransforms to the GroupChat's Select Speaker nested chat (speaker_selection_method='auto') (#2719)
* Initial commit with ability to add transforms to GroupChat

* Added tests

* Tidy up

* Tidy up of variable names and commented out test

* Tidy up comment

* Update import to relative

* Added documentation topic for transform messages for speaker selection.

* Added handling of non-core module, transforms, in groupchat

* Adjusted parameter if module not loaded.

* Updated groupchat test which failed during CI/CD

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-08-26 03:47:48 +00:00
Eric Zhu
d7ae2038fb Rename TypeRoutedAgent to RoutedAgent; log on unhandled message. (#400)
* Rename TypeRoutedAgent to RoutedAgent; log on unhandled message.

* format

* Deprecation warning

* add test for routed agent

* add TypeRoutedAgent import

* fix import
2024-08-23 13:22:31 -07:00
Jack Gerrits
4c964fa772 Implement default sub and topic (#398)
* Implement default sub and topic

* format

* update test
2024-08-23 13:01:57 -07:00
Jack Gerrits
8f082cecda Initial design proposal for message routing (#245)
* Add design doc for routing

* rename

* add explanations

* Update 02 - Message routing.md

* add examples, rename to type

* add naming clarification

* add regex

* update spec based on feedback

* Remove open question
2024-08-23 13:31:26 -04:00
Enhao Zhang
7a919b1a17 Update the chat history of orchestrator (#379)
* update the chat history at the beginning of the _handle_broadcast() rather than inside _select_next_agent()

* add await

* Add plans to chat history

* formatting

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-08-22 20:56:04 +00:00
Jack Gerrits
30d1b50c0d Add subscription factory to AgentRuntime.register (#393)
* Add subscriptions to factory

* tests and bug fix
2024-08-22 13:53:35 -07:00
Eric Zhu
dc847d3985 Implement RPC and Subscription-based broadcast for python host and worker runtime. (#389)
* Refactor subscription in single threaded agent runtime

* Update proto to support response result type

* Support RPC and subscription-based broadcast for Python host and worker runtime.

* format
2024-08-22 16:07:28 +00:00
Xiaoyun Zhang
519c981efa move .proto generator to Microsoft.AI.Agents (#391) 2024-08-22 17:52:35 +02:00
Li Jiang
663092b5e1
Add mongodb to topic guide (#3400) 2024-08-22 09:58:08 +00:00
Eddy Fidel
8aea367558
Fix QdrantVectorDB to use custom embedding_function when provided, defaulting to FastEmbedEmbeddingFunction() otherwise (#3396)
Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-08-22 09:38:34 +00:00
New-World-2019
395af4e258
Update Docker.md;fix broken URL (#3399)
This pull request includes a minor update to the CONTRIBUTORS.md file to correct the link to the Dockerfile README.
2024-08-22 09:24:25 +00:00
Eric Zhu
494b805080 Refactor subscription in single threaded agent runtime (#388) 2024-08-21 20:22:10 -07:00
Eric Zhu
ed0890525d Make RunContext internal (#386)
* Make RunContext internal

* Mypy
2024-08-21 13:59:59 -07:00
Xiaoyun Zhang
eb160d9d4a
[.Net] Rename AutoGen.OpenAI to AutoGen.OpenAI.V1 (#3358)
* fix build error

* rename AutoGen.OpenAI to AutoGen.OpenAI.V1
2024-08-21 20:45:15 +00:00
Xiaoyun Zhang
7b5c5eee6d
[.Net] Release 0.1.0 (#3398)
* update version and release note

* Update MetaInfo.props

* update release note
2024-08-21 20:20:13 +00:00
Andy Zhou
740df28260
Add Language Agent Tree Search (LATS) notebook (#3376)
* Add Language Agent Tree Search (LATS) notebook

* removed outputs

---------

Co-authored-by: Andy Zhou <andyzhou@4bd094a2-01.cloud.together.ai>
Co-authored-by: Shaokun Zhang <shaokunzhang529@gmail.com>
2024-08-21 17:58:53 +00:00
Xiaoyun Zhang
09ceef4b4a enable dotnet build in PR check and Add namespace back in .proto (#384)
* enable dotnet build for PR check

* add namespace back

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-08-21 17:58:04 +00:00
Jack Gerrits
63000e5424 Implement AgentRuntime.get (#385) 2024-08-21 10:55:58 -07:00
Ricky Loynd
aae881b2ac
Update CONTRIBUTORS.md (#3391)
Modify the display text of my github handle.
2024-08-21 13:52:47 +00:00
Xiaoyun Zhang
3781f23eba
Update CONTRIBUTORS.md (#3393) 2024-08-21 13:52:31 +00:00
Jack Gerrits
29088d67a4 Register returns AgentType (#382) 2024-08-20 17:38:36 -04:00
Jack Gerrits
e1a823fb6d Initial impl of topics and subscriptions (#350)
* initial impl of topics and subscriptions

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

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>

* add topic in context

* migrate

* migrate code for topics

* migrate team one

* edit notebooks

* formatting

* fix imports

* Build proto

* Fix circular import

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-08-20 14:41:24 -04:00
peterychang
4ba7e84721 Upload/Download operations for azure code container (#377)
* Upload/Download operations for azure code container

* add another check on download test

* small fixes

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-08-20 14:21:45 -04:00
peterychang
ba063e78ce disable youtube test until it can be debugged (#380) 2024-08-20 11:08:56 -07:00
gagb
7c8d357e0c
Update CONTRIBUTORS.md; fix broken URL (#3387) 2024-08-20 15:29:57 +00:00
gagb
079321e55c
Update CONTRIBUTORS.md; fix cell order (#3386) 2024-08-20 15:29:30 +00:00
Eric Zhu
3b45aa42c6
Add contributor list via contributors.md (#3384)
* add contributor list

* Update CONTRIBUTORS.md

* Update CONTRIBUTORS.md

* Update CONTRIBUTORS.md

* Update CONTRIBUTORS.md; fix typos per code spell

* Run pre-commit

* Add link to contributors.md

* Add link to contributors.md

* Update CONTRIBUTORS.md

* Update CONTRIBUTORS.md

* Update CONTRIBUTORS.md

---------

Co-authored-by: gagb <gagb@users.noreply.github.com>
2024-08-20 06:03:01 +00:00
Xiaoyun Zhang
00aed2e3ca
[.Net] Enable step-by-step execution for two-agent conversation SendAsync API (#3360)
* return iasync iterator in sendasync function

* fix build error
2024-08-20 05:34:04 +00:00
Mark Sze
77ae3c09a5
Ensure 'name' on initial message (#2635)
* Update to ensure name on initial messages

* Corrected test cases for messages now including names.

* Added name to messages within select speaker nested chat

* Corrected select speaker group chat tests for name field

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-08-20 04:08:26 +00:00
Xiaoyun Zhang
a638a08f81
[.Net] Dispose kernel after running dotnet interactive tests (#3378)
* dispose kernel after running test

* add timeout
2024-08-20 02:33:52 +00:00
Eric Zhu
d5068d9b6c
update contact information on the repo and release package (#3383)
* update contact information on the repo and release package

* update contact

* update

* fix format
v0.2.35
2024-08-20 02:04:44 +00:00
Eric Zhu
6dbd2d110e Add proto files (#378)
* Add proto files and add github action to block PR if changes to proto files required.

* remove action
2024-08-19 20:32:34 +00:00
morris.liu
a13e4dbbb6
Update human-in-the-loop.ipynb (#3379) 2024-08-19 17:46:01 +00:00
Eric Zhu
5eca0dba4a Python host and worker runtime for distributed agents. (#369)
* Python host runtime impl

* update

* ignore proto generated files

* move worker runtime to application

* Move example to samples

* Fix import

* fix

* update

* server client

* better shutdown

* fix doc conf

* add type
2024-08-19 10:06:41 -04:00
David Luong
0a2b667f3c
[.NET] Add cache control to Anthropic Client (#3372)
* Add cache control to anthropic client and write unit test & exampel

* PR comments

* Fix import ordering for build

* Fix import orderings

---------

Co-authored-by: Xiaoyun Zhang <bigmiao.zhang@gmail.com>
2024-08-18 16:14:51 +00:00