mirror of
https://github.com/microsoft/autogen.git
synced 2025-10-26 07:19:33 +00:00
* make code execution async * python 3.10 does not support asyncio.timeout() * make code execution cancellable * make code execution async * python 3.10 does not support asyncio.timeout() * make code execution cancellable * make entire callstack for code_executor async * Update python/src/agnext/components/code_executor/_impl/local_commandline_code_executor.py Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com> * fix variable description * remove unnecessary code * fix usage of execute_code_blocks * fix usage of execute_code_blocks --------- Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com> Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
AGNext
Package layering
coreare the the foundational generic interfaces upon which all else is built. This module must not depend on any other module.applicationare implementations of core components that are used to compose an application.componentsare the building blocks for creating agents.
Development
TL;DR, run all checks with:
hatch run check
Setup
Virtual environment
To get a shell with the package available (virtual environment), in the current directory, run:
hatch shell
Common tasks
- Format:
hatch run check - Lint:
hatch run lint - Test:
hatch run pytest -n auto - Mypy:
hatch run mypy - Pyright:
hatch run pyright - Build docs:
hatch run docs:build - Auto rebuild+serve docs:
hatch run docs:serve
Note
These don't need to be run in a virtual environment,
hatchwill automatically manage it for you.