7 Commits

Author SHA1 Message Date
ken-gravilon
f36b658f8f
Docs typo cli-code-executor.ipynb (#2909)
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-06-12 14:36:26 +00:00
R. Singh
60c665871a
Feature: Add ability to use a separate python environment in local executor (#2615)
* Add ability to use virtual environments in local executor

* Copy environment variables from parent environment

* Fix mypy errors and formatting

* Account for venv on Windows

* Use a virtual environment context object instead of path

* Add utility method to create a virtual environment

* Remove assertion using `_venv_path`

* Add tests for `create_virtual_env`

* Modify test code and add output assertion

* Modify test code and assertion

* Execute activation script before actual command on windows

* Add docs for using a virtual env
2024-05-11 06:25:20 +00:00
Gabriel Bezerra Valério
a0fffc815b
feat: add bind_dir arg to DockerCommandLineExecutor + docs update (#2309)
* add bind_dir arg and update docs

* lint
2024-04-30 20:49:04 +00:00
Li Jiang
42b27b9a9d
Add isort (#2265)
* Add isort

* Apply isort on py files

* Fix circular import

* Fix format for notebooks

* Fix format

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-04-05 02:26:06 +00:00
Jack Gerrits
e342cfcdb7
Add docs about how to use docker for when autogen itself is run in docker (#2052) 2024-03-18 17:13:28 +00:00
Jack Gerrits
f4f9e6c27e
Accept path for work_dir in LocalCommandLineCodeExecutor (#1909)
* Accept path in LocalCommandLineCodeExecutor

* formatting

* fixes
2024-03-07 21:58:40 +00:00
Jack Gerrits
e9219fefc0
Implement docker based command line code executor (#1856)
* implement docker based command line code executor

* undo import

* test skips

* format

* fix type issue

* skip docker tests

* fix paths

* add docs

* Update __init__.py

* class name

* precommit

* undo twoagent change

* use relative to directly

* Update, fixes, etc.

* update doc

* Update docstring

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-03-07 18:11:52 +00:00