1984 Commits

Author SHA1 Message Date
Yogesh Chauhan
c631b34e21 Fix Typo - Update JSON_mode_example.ipynb (#6457)
Fix typo in "strucutre" word

<!-- Thank you for your contribution! Please review
https://microsoft.github.io/autogen/docs/Contribute before opening a
pull request. -->

<!-- Please add a reviewer to the assignee section when you create a PR.
If you don't have the access to it, we will shortly find a reviewer and
assign them to your PR. -->

## Why are these changes needed?

Fix a typo in the documentation

<!-- Please give a short summary of the change and the problem this
solves. -->

## Related issue number

<!-- For example: "Closes #1234" -->

## Checks

- [x] I've included any doc changes needed for
<https://microsoft.github.io/autogen/>. See
<https://github.com/microsoft/autogen/blob/main/CONTRIBUTING.md> to
build and test documentation locally.
- [x] I've added tests (if relevant) corresponding to the changes
introduced in this PR.
- [x] I've made sure all auto checks have passed.

---------

Co-authored-by: Victor Dibia <victor.dibia@gmail.com>
2025-05-28 16:01:48 -07:00
AndreaTang123
64688df1af Fix gallery broken image path issue #4934 (#6175)
This PR updates the image paths in `GalleryPage.js` to use absolute URLs
starting with `/autogen/0.2/img/...` so that images correctly load on
GitHub Pages in the 0.2 documentation site.

Fixes #4934
2025-04-07 11:20:40 -04:00
simrat-code
0806b5dfa2 typo fix in llm_configuration.ipynb (#5781)
There is double 'can can' in the documentation.

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2025-03-20 17:26:38 -07:00
Ching-An Cheng
7ec75060bd Make azure_ad_token_provider customizable. (#4931)
## Why are these changes needed?

Currently, when using azure openai, `azure_ad_token_provider` in
`OAI_CONFIG_LIST` can only take a value of "DEFAULT" which uses the
default token provider "https://cognitiveservices.azure.com/.default".

This patch would allow users providing custom token providers by setting
`azure_ad_token_provider` to other values.


## Checks

- [ x] I've included any doc changes needed for
https://microsoft.github.io/autogen/. See
https://microsoft.github.io/autogen/docs/Contribute#documentation to
build and test documentation locally.
- [ x] I've made sure all auto checks have passed.

---------

Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2025-02-25 15:29:13 -05:00
Jack Gerrits
14fbb3b6c9 Add pointer to new blog on old site (#5704)
Closes #5137

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2025-02-25 14:27:25 -05:00
gagb
ad3bed3f7d Update docusaurus.config.js in 0.2 (#5411)
fix url
2025-02-12 09:57:47 -05:00
gagb
6064d91b22 Add blog (#5370)
- added blog
- update banner
<img width="768" alt="image"
src="https://github.com/user-attachments/assets/39d91515-f416-4c86-8d54-c85b444fc102"
/>
2025-02-06 09:18:40 -05:00
davidxwwang
261b4724e8 fix add functions to agent(#4937) (#5070)
fix bug: in class AgentBuilder~build() add function(list_of_functions to
agent,the return agent name is ‘None’,and the app crashed

## Related issue number

https://github.com/microsoft/autogen/issues/4937
2025-02-03 00:35:45 -08:00
Jack Gerrits
37efa753a4 Update 0.2 site for 0.4 (#4942)
* Update links and wording for new release

* Update
2025-01-09 11:19:40 -05:00
Li Jiang
38bfb3d084 Auto Hashing ID for VectorDB Classes (#4746) (#4789) 2024-12-26 23:52:03 -08:00
Henry Tu
960fbf0571 Replace Cerebras Llama 3.1 70b with Llama 3.3 70b (#4743) 2024-12-17 15:41:11 -08:00
Li Jiang
63fe24dc25 Avoid httpx breaking change (#4736)
Pin httpx version to avoid a breaking change in version 0.28
2024-12-17 11:14:28 -08:00
Eric Zhu
3b4c0170b0 update version (#4713) v0.2.40 2024-12-14 22:09:28 -08:00
Grigoriy Kurushin
ee491c0854 fix: No context vars for async agents replies (#4640)
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-12-14 15:20:10 -08:00
milkmeat
e90b9aa926 fix "keep_first_message" to make sure messages are in correct order, (#4653)
described in https://github.com/microsoft/autogen/pull/3178#issuecomment-2530740564

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-12-11 17:33:57 -08:00
Vaisakh K
837b2e094d [Bug]: Bedrock client uses incorrect environment variables for authentication (#4657)
updated the aws env variable names updated ref: [Bug]: Bedrock client uses incorrect environment variables for authentication #3500
2024-12-11 17:03:42 -08:00
Li Jiang
9d581de5f4 Add warning message when NoEligibleSpeaker (#4535) 2024-12-04 11:49:41 -08:00
Eric Zhu
ebb3e24c51 Update version. (#4358) v0.2.39 2024-11-25 13:40:04 -08:00
Tomek Słoma
758edb7c02 Bugfix: Web surfer creating incomplete copy of messages (#4050)
* bugfix: create full copy of history (including last message)

* websurfer: copy entire message context only when last message is tool message
2024-11-25 10:20:46 -08:00
Lery Orlov
2d52bbcbc5 fix: GroupChatManager async run throw exception if no eligible speaker (#4283) 2024-11-20 19:35:27 -05:00
Eric Zhu
8a8fcd8906 update version (#4122) v0.2.38 2024-11-10 21:51:53 -05:00
Joel Klaverkamp
23c14bc937 fix(oai): fixing a bug when not using the OpenAIWrapper by making rate limiter config optional. (#4066)
Co-authored-by: Joel Klaverkamp <joel.klaverkamp@upfeat.com>
2024-11-05 11:19:28 -08:00
Victor Dibia
9f428880b3 Fix 0.2 Quickstart example llm_config issue (#4060)
* fix bug in getting started guide for 0.2 #2038

* remove uneeded submodule

* remove uneeded submodule

* remove unecessary file
2024-11-04 19:58:01 -08:00
Luke Hsiao
5ad267707d docs: fix bullet formatting for kubernetes pod executor (#3911)
While the bullets are rendered correctly in GitHub when looking at this
file, the bullet formatting is incorrect on the actual documentation
site [[1]]. This patch adds a newline to fix that formatting.

A screenshot of the incorrect formatting on the site is included in
the PR.

[1]: https://microsoft.github.io/autogen/0.2/docs/topics/code-execution/kubernetes-pod-commandline-code-executor
2024-10-23 13:14:08 -04:00
Eric Zhu
610388945b Update (#3897) v0.2.37 2024-10-22 21:58:46 -07:00
Rajan
1c5baf020f [CAP] Abstraction of actor_connector to go along with runtime factory and runtime abstraction (#3296)
* Added Runtime Factory to support multiple implementations

* Rename to ComponentEnsemble to ZMQRuntime

* rename zmq_runtime

* rename zmq_runtime

* pre-commit fixes

* pre-commit fix

* pre-commit fixes and default runtime

* pre-commit fixes

* Rename constants

* Rename Constants

* Create interfaces for connectors

* pre-commit fixes

* pre-commit fixes

* pre-commit fixes

* lower case file names

* rename files to lower _case

* rename files to _lowercase

* removed _

* Refactored to make Actor zmq agnostic

* fix for refactor

* fix refactor, circular dependency

* pre-commit fixes

* document classes

* pre-commit ruff

* fix ruff issues

* ruff fixes

* ruff fixes

* actor connector documentation

* better docs

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-22 16:52:06 +08:00
Wael Karkoub
8a2a40d5d2 [bug] Validates If The Role Tool is Handled Correctly after Transforms (#3875) 2024-10-22 10:30:07 +02:00
Wael Karkoub
c345d41446 cache defaults to None (#3872) 2024-10-22 07:14:45 +01:00
Daniel Chalef
76a4bd05d9 Add Zep ecosystem doc and notebook (#3681)
* Add Zep ecosystem doc and notebook

* fix linting and formatting issues

* Fix url

* Update agent-memory-with-zep.md

* add notebook metadata

* newline

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-10-17 10:08:30 -07:00
Lokesh Goel
1960eaba1a Add Couchbase Vector DB Example Notebook and Minor Bug Fix (#3804) 2024-10-17 14:18:03 +02:00
kiyoung
02977ee250 K8s code executor (#3419)
* remove coding directory from gitignore

* add k8s PodCommandLineCodeExecutor

* add error handlings and custom pod spec parameter

* change parameter name to kube_config_file

* add param container_name

* add test case for PodCommandLineCodeExecutor

* add test guide

* draft for docs notebook

* test code fix indent

* add document

* add license info

* revise documentation

* modify document: install autogen-agentchat

* apply pre-commit

* revert change to gitignore

* error handling: move import block into try block

---------

Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-10-16 12:22:50 -07:00
Victor Dibia
7e297149f8 align tagline buttons (#3788) 2024-10-14 19:00:53 -04:00
Jack Gerrits
28345307ba Clarify stable package name and version on home page (#3775) 2024-10-14 10:17:28 -04:00
gagb
874985ef97 Fix broken ing URL in README (#3776)
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-10-14 10:08:46 -04:00
Jack Gerrits
0e37b34f7f Remove path filter for website testing in 0.2 (#3782) 2024-10-14 09:55:53 -04:00
Eric Zhu
c179efbb13 update homepage link to 0.4 doc (#3772) 2024-10-12 14:52:00 -07:00
William Espegren
0c4ae702d7 Notebook on web crawling (#2720)
* Web crawling with Spider

* reset run count

* spell correction

* crawl agent

* reset execution counters

* correct return types

* metadat for website

* format

* Update notebook/agentchat_webcrawling_with_spider.ipynb

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

* Update website/docs/Examples.md

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

* Update agentchat_webcrawling_with_spider.ipynb

* Update agentchat_webcrawling_with_spider.ipynb

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

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-11 18:27:15 -07:00
Victor Dibia
8a66f03b41 Update Docs to Point to 0.4 (#3764)
* update docs, add link to v0.4

* update homepage text

* Update website/src/pages/index.js

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-11 18:23:12 -07:00
Krishna Shedbalkar
4f060e5efa Autobuild Function calling (#3238)
* [Fix] Precommit issues

* [Fix] checks

* [Fix] iterating through list_of_functions

* [Fix] pre-commit checks

* Update test/agentchat/contrib/test_agent_builder.py

Co-authored-by: Chi Wang <4250911+sonichi@users.noreply.github.com>

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Chi Wang <4250911+sonichi@users.noreply.github.com>
2024-10-11 18:09:12 -07:00
Kirushikesh DB
11ef58b98e Added a demonstartion notebook featuring the usage of Langchain with AutoGen (#3461)
* Added langchain integrated demo  notebook

* Added output

* Update notebook/agentchat_huggingface_langchain.ipynb

Co-authored-by: gagb <gagb@users.noreply.github.com>

* Changed the underlying LLM and lint fix

* lint fix

---------

Co-authored-by: gagb <gagb@users.noreply.github.com>
Co-authored-by: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-11 09:15:52 -07:00
Matteo Frattaroli
ec4f3c0f19 Fix #2643 - groupchat model registration (#2696)
* remove unused import statement

* fix #2643: register custom model clients within GroupChat

* add docs for fix #2643

* Update website/docs/topics/groupchat/using_custom_models.md

Co-authored-by: Chi Wang <wang.chi@microsoft.com>

* Update website/docs/topics/groupchat/using_custom_models.md

Co-authored-by: Chi Wang <wang.chi@microsoft.com>

* fix: removed unnecessary llm_config from checking agent

* fix: handle missing config or "config_list" key in config

* fix: code formatting

* Isolate method for internal agents creation

* Add unit test to verify that internal agents' client actually registers ModelClient class

* fix: function arguments formatting

* chore: prepend "select_speaker_auto_" to llm_config and model_client_cls attributes in GroupChat

* feat: use selector's llm_config for speaker selection agent if none is passed to GroupChat

* Update test/agentchat/test_groupchat.py

* Update groupchat.py - moved class parameters around, added to docstring

* Update groupchat.py - added selector to async select speaker functions

* Update test_groupchat.py - Corrected test cases for custom model client class

* Update test_groupchat.py pre-commit tidy

---------

Co-authored-by: Matteo Frattaroli <m.frattroli97@gmail.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>
2024-10-11 09:05:23 -07:00
Zoltan Lux
32022b2df6 Function Calling Support for Gemini - Part 2 (#3726)
* Added function calling support to GeminiClient

* Appending a continue message from model to alternate between user and model

* Fixed cost calculation to include <128K costing and new 1.5-flash model. Added test case for function_call.

* Add notebook with samples for Gemini

* Updated test case

* Fix to handle not dict response in function call

* Handle non dict function results and append dummy model message between function response and user message

* Fixing message order in gemini

* Append text as multiple parts instead of test concatenation

* Raising error for Union data types in function parameter

* Delete default key

* Update gemini.py for multiple tool calls + pre-commit formatting

* no function role

* start adding function calling config

* do not serialize tool_config

* improve tool config parsing

* add hint

* improve function calling config

* removunnecessary comments

* try removing allowed function names in tool config conversion

* fix tool config parsing with empty tools list

* improve logging and case handling with vertexai tool config parsing

* reset file

* check if text is in part

* fix empty part checking case

* fix bug with attribute handling

* skip test if gemini deps are not installed

---------

Co-authored-by: Arjun G <arjun@arjun-g.com>
Co-authored-by: Beibin Li <BeibinLi@users.noreply.github.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>
2024-10-10 13:26:05 -07:00
Jack Gerrits
3ebd7aeec2 Update links on 0.2 website (#3734) 2024-10-10 13:16:25 -04:00
Jack Gerrits
bf3414c96f Add announcement bar for 0.4 (#3717) 2024-10-09 16:41:20 -04:00
Jack Gerrits
11314488cb update base url of docusaurus site (#3658) 2024-10-04 08:14:12 -07:00
Jack Gerrits
56d2090828 Update CI to target 0.2 branch, remove merge queue (#3656) 2024-10-04 09:54:46 -04:00
Eric Zhu
21a5a13965 Merge pull request #3650 from jknaudt21/main
Fix small typo in the docs
2024-10-03 17:34:36 -07:00
Juan Diego Herrera
f32472e9ce Fix small typo in the docs 2024-10-03 17:14:03 -07:00
Jack Gerrits
180c17c1f4 Update issue templates (#3610)
* Update config.yml

* Delete .github/ISSUE_TEMPLATE.md

* Delete .github/ISSUE_TEMPLATE/general_issue.yml

* Update feature_request.yml

* Update feature_request.yml

* Update feature_request.yml

* Update feature_request.yml

* Update bug_report.yml

* Update .github/ISSUE_TEMPLATE/bug_report.yml

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

* Update .github/ISSUE_TEMPLATE/config.yml

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

* Update bug_report.yml

* Update config.yml

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-03 16:47:07 +00:00
Jack Gerrits
d4a09939d0 Create CI to tag issues with needs triage (#3605) 2024-10-02 21:28:57 +00:00