Files
OpenHands/agenthub/micro
Engel Nyst b9a5be2569 Add ruff for shared mutable defaults (B) (#1938)
* 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>
2024-05-22 20:06:00 -07:00
..
2024-05-10 04:21:22 +02:00

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.