Base project for AutoGen development.
This project uses devcontainers for VSCode to create a development environment for AutoGen.
- devcontainer based development environment for VSCode.
- Python 3.x docker image base.
- OpenAI API integration.
- black formatting on save.
- isort import sorting on save.
- pylint linting.
- code spell checking with custom workspace dictionary.
See requirements.txt for the full list of Python packages and versions used.
-
Open the project in VSCode.
-
Ensure the devcontainers extension is installed.
-
Copy
OAI_CONFIG_LIST.sampletoOAI_CONFIG_LISTand updateOAI_CONFIG_LISTwith the OpenAI model information that you want to use, including API keys. -
Copy
.env.sampleto.envand update the values as needed. -
Open the Command Palette in VSCode and run
Remote-Containers: Reopen in Container. -
From the Terminal in VSCode, run:
python app/app.py
-
Develop your AutoGen project!