Commit Graph

3414 Commits

Author SHA1 Message Date
Umer Mansoor
a246a79cda Add additional tests to capture edge cases and more error conditions (#3237)
* Add additional unit tests to capture additional edge cases

* fix formatting issue (pre-commit)
v0.2.33
2024-07-30 13:57:32 +00:00
Eric Zhu
19f5463200 Fix chess example #298 (#301) 2024-07-30 00:11:42 -07:00
peterychang
136af65b74 Code execute cancellation (#299)
* Hook cancelation token into code execution

* Add unit test for code cancellation

* actually save the merge
2024-07-29 23:46:04 -07:00
afourney
ec654253d2 Introduces a BaseWorker agent, allowing for a TeamOneBaseAgent (#289) 2024-07-29 13:09:31 -07:00
Xiaoyun Zhang
04be2ee930 bump version and add release note (#3246) 2024-07-29 18:32:26 +00:00
Xiaoyun Zhang
2cfaf73ad8 [.Net] add SendAsync api to iterate group chat step by step (#3214)
* add SendAsync api and tests

* update example to use new sendAsync API
2024-07-29 16:32:45 +00:00
Mark Sze
cf29a2fac1 Recreated doc for Local LLMs - LiteLLM and Ollama - native function calling in Ollama (#3197)
* Recreated documentation for Local LLMs - LiteLLM and Ollama

* Added Docker = False for code execution example

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-07-29 15:04:44 +00:00
Umer Mansoor
36ead68c9a Improve error messaging (#3236)
* Update error language and corresponding tests

* Updated another test to use the new error message
2024-07-29 14:50:46 +00:00
Umer Mansoor
d3d4cc0c2f Fix reference links (#3239)
* fix broken reference links that's pointing to a page that doesn't exists

* Fix 2 broken links and use the correct format

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-07-29 14:44:52 +00:00
Li Jiang
f8663e3581 Update Microsoft Fabric notebook (#3243)
Co-authored-by: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com>
2024-07-29 10:02:19 +00:00
Jib
56979a1105 [Typo] Update MongoDB Notebook to acknlowedge >=M10 support (#3220)
* [Typo] Update MongoDB Notebook to acknlowedge >=M10 support

The notebook instructions state we support only >=M30 clusters for AutoGen. This is slightly misleading. We support >=M10 clusters or any cluster that allows for index creation from client code. This support is continually updating so this PR updates the language to reflect that.

* Add link!

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-07-29 08:20:41 +00:00
Qingyun Wu
277e535b7a bump version (#3231)
* bump version

* update

* format

---------

Co-authored-by: kevin666aa <yrwu000627@gmail.com>
Co-authored-by: Yiran Wu <32823396+yiranwu0@users.noreply.github.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-07-28 23:28:59 +00:00
Alex Reibman
61b9e8bae2 Observability blog post styling hot fix (#3234)
* update markdown hyperlinks to stable urls

* update notebook images and text

* re-write observability section

* Updated section

* update wording

* added newline

* update styling in image tags to be jsx compatible

* added text

* update link

* simplified text

* created blog

* replace flow images with fewer shadows

* reformat line

* add authors

* updated discord link and direct paths to image URLS

* removed images since they are not stored in the AgentOps github

* remove trailing whitespaces

* removed newline

* removed whitespace

* Update website/blog/2024-07-25-AgentOps/index.mdx

Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>

* single quotes with double quotes

* fix widths

---------

Co-authored-by: Braelyn Boynton <bboynton97@gmail.com>
Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>
2024-07-27 22:14:05 +00:00
Umer Mansoor
33f29cbb59 Add gpt-4o-mini to model list (#3169)
* Add gpt-4o-mini to model list

* Fix formatting issue and verify with pre-commit

* Remove extra space

* Minor change to make pre-commit (formatting checks) pass

---------

Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com>
Co-authored-by: Ian <ArGregoryIan@gmail.com>
2024-07-27 16:09:46 +00:00
Jatin Shridhar
d3c73e9d36 update input prompt message (#3149)
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
2024-07-27 16:08:51 +00:00
Cell
8ac9bba0be Fix ConversableAgent break link in agent_chat.md file to include the .md extension in the link for ConversableAgent (#3221)
ConversableAgent has a break link in website/docs/Use-Cases/agent_chat.md file
2024-07-27 15:30:39 +00:00
Alex Reibman
849d877ea1 Agent Observability Blog Post (#3209)
* update markdown hyperlinks to stable urls

* update notebook images and text

* re-write observability section

* Updated section

* update wording

* added newline

* update styling in image tags to be jsx compatible

* added text

* update link

* simplified text

* created blog

* replace flow images with fewer shadows

* reformat line

* add authors

* updated discord link and direct paths to image URLS

* removed images since they are not stored in the AgentOps github

* remove trailing whitespaces

* removed newline

* removed whitespace

* Update website/blog/2024-07-25-AgentOps/index.mdx

Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>

* single quotes with double quotes

---------

Co-authored-by: Braelyn Boynton <bboynton97@gmail.com>
Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>
2024-07-27 15:03:29 +00:00
Eric Zhu
2bc0a33f78 Add LangGraph agent example (#290)
* Add LangGraph agent example

* fix
2024-07-26 18:23:31 -07:00
peterychang
070a97ceaa make code execution async (#219)
* make code execution async

* python 3.10 does not support asyncio.timeout()

* make code execution cancellable

* make code execution async

* python 3.10 does not support asyncio.timeout()

* make code execution cancellable

* make entire callstack for code_executor async

* Update python/src/agnext/components/code_executor/_impl/local_commandline_code_executor.py

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>

* fix variable description

* remove unnecessary code

* fix usage of execute_code_blocks

* fix usage of execute_code_blocks

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-07-26 22:37:34 +00:00
Eric Zhu
53343972f0 Fix links in sample README (#287)
* Update tool use examples to use inner agents rather than subclassing

* fix

* Merge remote-tracking branch 'origin/main' into ekzhu-update-tool-use-example

* Merge branch 'main' into ekzhu-update-tool-use-example

* Fix links in the sample.
2024-07-26 15:21:18 -07:00
Umer Mansoor
0c5cbd8b2b Fix failing GitGuardian check (#3228) 2024-07-26 22:10:33 +00:00
Eric Zhu
47e1cf464f Update tool use examples to use inner agents rather than subclassing (#286)
* Update tool use examples to use inner agents rather than subclassing

* fix

* Merge remote-tracking branch 'origin/main' into ekzhu-update-tool-use-example
2024-07-26 15:04:52 -07:00
Jack Gerrits
6437374f63 Handle messages in a queue for team one base agent (#284)
* Handle messages in a queue for team one base agent

* fmt

* Enable RPC

* Hatch errors.

---------

Co-authored-by: Adam Fourney <adamfo@microsoft.com>
Co-authored-by: afourney <adam.fourney@gmail.com>
2024-07-26 16:48:39 -04:00
afourney
99b53557ca Allow Executor to search for code in multimodal messages. (#285) 2024-07-26 12:54:10 -07:00
peterychang
cf2bcd31ea Web surfer test (#248)
* Add web surfer test

* delete temp files

* formatting

* fix send_message calls

* fix mypy errors

* Add web surfer test

* delete temp files

* formatting

* fix send_message calls

* fix mypy errors

* fix CI checks

* CI code formatting

* Update hatch commands, add tests to CI

* add playwright to test env

* try fixing toml

* Update .github/workflows/checks.yml

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>

* try fixing toml

* try fixing toml

* Update python/pyproject.toml

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>

* try fixing toml

* try fixing toml

* modify correct pyproject.toml file

* add missing dependency

* Add browser_utils tests

* fix check errors

* run normalize code for test

* add missing dependency

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
Co-authored-by: afourney <adam.fourney@gmail.com>
2024-07-26 12:34:47 -07:00
Jack Gerrits
7e75dc8df8 Add core components for topics (#278)
* Add core components for topics

* rename topic to topic id
2024-07-26 14:38:08 -04:00
afourney
61dec0a3ca Added token counting to TeamOne (#264)
* Added token counting to TeamOne
2024-07-26 09:45:41 -07:00
afourney
25b9a91328 Teamone webarena agents fully implemented. (#276)
* Initial onboarding of WebArena
* Migrate to try_get_underlying_agent_instance
* Fixed some race conditions and implemented Deactivate messages.
2024-07-26 09:42:12 -07:00
wenngong
f048776685 avoid scan tool false alarm (#3218)
Co-authored-by: gongwn1 <gongwn1@lenovo.com>
2024-07-26 16:38:09 +00:00
Jack Gerrits
5fca275be1 Fix links in overview.md (#277)
* Update foundation.md

* Update foundation.md

* Update overview.md
2024-07-26 09:51:25 -04:00
afourney
9fd7e301b3 TeamOne agents default to handling one message at a time, exclusively… (#273)
* TeamOne agents default to handling one message at a time, exclusively. The default can be overridden by passing a parameter to the BaseAgent constructor.
2024-07-25 21:13:08 -07:00
Eric Zhu
3bc37619d5 Update overview page with application stack and example (#275) 2024-07-25 18:46:07 -07:00
Fabian Valle
f9295c4c39 +mdb atlas vectordb [clean_final] (#3000)
* +mdb atlas

* Update test/agentchat/contrib/vectordb/test_mongodb.py

Co-authored-by: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com>

* update test_mongodb.py; we dont need to do the assert .collection_name vs .name

* Try fix mongodb service

* Try fix mongodb service

* Update username and password

* Update autogen/agentchat/contrib/vectordb/mongodb.py

* closer --- but im not super thrilled about the solution...

* PYTHON-4506 Expanded tests and simplified vector search pipelines

* Update mongodb.py

* Update mongodb.py - Casey

* search_index_magic

index_name change; keeping track of lucene indexes is tricky

* Fix format

* Fix tests

* hacking trying to figure this out

* Streamline checks for indexes in construction and restructure tests

* Add tests for score_threshold, embedding inclusion, and multiple query tests

* refactored create_collection to meet base object requirements

* lint

* change the localhost port to 27017

* add test to check that no embedding is there unless explicitly provided

* Update logger

* Add test get docs with ids=None

* Rename and update notebook

* have index management include waiting behaviors

* Adds further optional waits or users and tests. Cleans up upsert.

* ensure the embedding size for multiple embedding inputs is equal to dimensions

* fix up tests and add configuration to ensure documents and indexes are READY for querying

* fix import failure

* adjust typing for 3.9

* fix up the notebook output

* changed language to communicate time taken on first init_chat call

* replace environment variable usage

---------

Co-authored-by: Fabian Valle <fabian.valle-simmons@mongodb.com>
Co-authored-by: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com>
Co-authored-by: Li Jiang <bnujli@gmail.com>
Co-authored-by: Casey Clements <casey.clements@mongodb.com>
Co-authored-by: Jib <jib.adegunloye@mongodb.com>
Co-authored-by: Jib <Jibzade@gmail.com>
Co-authored-by: Cozypet <yanhan860711@gmail.com>
2024-07-25 23:11:19 +00:00
Tristan Jin
1bd2124ba4 Resolve arguments formatting (#3194)
Fixed formatting for "clear_history"

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-07-25 19:16:42 +00:00
Joris van Raaij
2b29274fcb Fix Anthropic Bedrock support (#3210)
* Added _configure_openai_config_for_bedrock to include aws variables in openai_config, necessary for setting AnthropicBedrock as client.

* Removed aws_session_token from required_keys

* Removed check for aws_session_token

* Removed all checks for aws_session_token

* Ran pre-commit

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com>
2024-07-25 19:02:20 +00:00
Eric Zhu
e9c3a384f3 Update ai agent documentation on tool agent (#272)
* Update ai agent documentation on tool agent

* Fix
2024-07-25 11:53:59 -07:00
Adil Khalil
e08fd68cdb Fix typo in agentchat_society_of_mind.ipynb (#3180)
Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>
2024-07-25 18:23:41 +00:00
Eric Zhu
84d4e27776 Add tool agent class for convience of creating AI agents (#271)
* Add tool agent class for convience of creating AI agents

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

* feat: Add return type annotation to test_tool_agent function
2024-07-25 11:20:42 -07:00
Xiaoyun Zhang
155da15734 [.Net] fix #3203 (#3204)
* add net6 & net8

* update

* add tools and stop sequence
2024-07-25 16:15:55 +00:00
Reuben Bond
e7ac11b2e9 Initial distributed tracing implementation for .NET (#257) 2024-07-25 07:06:06 +00:00
Rajan
8e5d293f0a [CAP] Address missed PR comment changes (Minor) (#3201)
* Address PR comments

* Address PR comments
2024-07-25 01:22:50 +00:00
Enhao Zhang
b46625934b Fix pattern examples (#267)
* fix pattern examples

* reformat

---------

Co-authored-by: Enhao Zhang <t-enhaozhang@microsoft.com>
2024-07-24 17:28:00 -07:00
Victor Dibia
782503dff5 Update team one readme with information on how logging works. (#259)
Update team one readme with information on how logging works.

Related to #228
2024-07-24 13:18:28 -07:00
Diego Colombo
04eebf11c8 Add LlamaIndexAgent class for integrating llamaindex agent (#227) 2024-07-24 12:01:01 -07:00
Jack Gerrits
5081d3b747 fix templating (#254) 2024-07-24 14:23:21 +00:00
Eric Zhu
176932ef9c Add gpt-4o-mini, update examples (#253) 2024-07-23 18:05:16 -07:00
Eric Zhu
2288aee72b Adding example for tool intercept and human approval (#252)
* Adding example for tool intercept

* Format
2024-07-23 17:58:15 -07:00
Eric Zhu
d9f371fa3e Add AI Agent documentation section, update examples (#251)
* Add doc for ai agents

* update

* Update

* update

* Move patterns
2024-07-24 00:08:56 +00:00
afourney
b33c9602b2 Migrates GAIA to try_get_underlying_agent_instance (#250) 2024-07-23 17:07:04 -07:00
Jack Gerrits
3ba7a48b13 Implement try_get_underlying_agent_instance (#249) 2024-07-23 19:38:37 -04:00