project/
├─ agents
│ ├─ pipeline.py
│ ├─ generator_agent.py
│ ├─ linter_agent.py
│ ├─ reviewer_agent.py
│ └─ base_agent.py
├─ config/
│ ├─ prompts.yaml
│ ├─ models.yaml
│ └─ config.yaml
├─ utils/
│ ├─ install_model.py
│ ├─ llm_client.py
│ ├─ async_executor.py
│ ├─ project_utils.py
│ ├─ qml_utils.py
│ ├─ diff_utils.py
│ └─ logger.py
├─ run_all.py
├─ pipeline.md
└─ README.md
Agent.generate()
Agent.lint()
Agent.static_fix() ...
↓
BaseAgent.chat(system, user)
↓
LLMClient.chat(messages, ...)
↓
OpenAI streaming
pip install --upgrade autogen
If the compatibility in your environment didn't work well, run these command below which remove your python packages and reinstall correct version of autogen
pip uninstall -y autogen
pip uninstall -y pyautogen
pip uninstall -y autogen-agentchat
pip uninstall -y autogen-core
pip uninstall -y autogen-ext
pip uninstall -y autogenstudio
pip uninstall -y ag2
pip install --upgrade autogen