mirror of
https://github.com/microsoft/autogen.git
synced 2025-11-30 08:59:52 +00:00
* Update PR link in blog post (#3602) * Update PR link in blog post * Update index.mdx * Create CI to tag issues with needs triage (#3605) * 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> * termination condition * Termination condition * termination condition in group chat manager * Update module import * Fix logging * Clean up * Fix doc string --------- Co-authored-by: Jack Gerrits <jackgerrits@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/