mirror of
https://github.com/microsoft/autogen.git
synced 2026-04-20 03:02:16 -04:00
* 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>
Website
This website is built using Docusaurus 3, a modern static website generator.
Prerequisites
To build and test documentation locally, begin by downloading and installing Node.js, and then installing Yarn. On Windows, you can install via the npm package manager (npm) which comes bundled with Node.js:
npm install --global yarn
Installation
pip install pydoc-markdown pyyaml colored
cd website
yarn install
Install Quarto
quarto is used to render notebooks.
Install it here.
Note: Ensure that your
quartoversion is1.5.23or higher.
Local Development
Navigate to the website folder and run:
pydoc-markdown
python ./process_notebooks.py render
yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.