mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-04-29 03:00:45 -04:00
* add metrics for total_cost * make lint * refact codeact * change metrics into llm * add costs list, add into state * refactor log completion * refactor and test others * make lint * Update opendevin/core/metrics.py Co-authored-by: Boxuan Li <liboxuan@connect.hku.hk> * Update opendevin/llm/llm.py Co-authored-by: Xingyao Wang <xingyao6@illinois.edu> * refactor * add code --------- Co-authored-by: Boxuan Li <liboxuan@connect.hku.hk> Co-authored-by: Xingyao Wang <xingyao6@illinois.edu>
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.