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>
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
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
* 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>
* 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>
* 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>