mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-04-29 03:00:45 -04:00
* Add ruff for shared mutable defaults (B) * Apply B006, B008 on current files, except fast API * Update agenthub/SWE_agent/prompts.py Co-authored-by: Graham Neubig <neubig@gmail.com> * fix unintended behavior change * this is correct, tell Ruff to leave it alone --------- Co-authored-by: Graham Neubig <neubig@gmail.com> Co-authored-by: Boxuan Li <liboxuan@connect.hku.hk>
Introduction
This package contains definitions of micro-agents. A micro-agent is defined in the following structure:
[AgentName]
├── agent.yaml
└── prompt.md
Note that prompt.md could use jinja2 template syntax. During runtime, prompt.md
is loaded and rendered, and used together with agent.yaml to initialize a
micro-agent.