mirror of
https://github.com/microsoft/autogen.git
synced 2025-08-18 05:31:25 +00:00

* first notebook for distributed rock, paper and scissors * add distributed group chat notebook * fix formatting * fix pipeline issues * fix formatting issue * promote distributed group chat notebook into a multiple files * fix docs * fix docs * fix pyright * Apply suggestions from code review Add PR review suggestions Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com> * improving group chat manager from round robin to LLM based Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com> * remove lfs file to fix Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com> * add gut back using lfs Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com> * re-add gif using lfs Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com> * remove gitattributes Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com> * redo git lfs add --------- Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com> Co-authored-by: Ryan Sweet <rysweet@microsoft.com> Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
AutoGen Python packages
See autogen-core
package for main functionality.
Development
TL;DR, run all checks with:
uv sync --all-extras
source .venv/bin/activate
poe check
Setup
Virtual environment
To get a shell with the package available (virtual environment), in the current directory, run:
uv sync --all-extras
source .venv/bin/activate
Common tasks
- Format:
poe format
- Lint:
poe lint
- Test:
poe test
- Mypy:
poe mypy
- Pyright:
poe pyright
- Build docs:
poe --directory ./packages/autogen-core/ docs-build
- Auto rebuild+serve docs:
poe --directory ./packages/autogen-core/ docs-serve
Note
These need to be run in the virtual environment.
Create new package
To create a new package, run:
uv sync
source .venv/bin/activate
cookiecutter ./templates/new-package/