Files
OpenHands/agenthub/micro
Yufan Song d18e6c85a0 feat: add metrics related to cost for better observability (#1944)
* 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>
2024-05-22 08:53:31 +00:00
..
2024-05-10 04:21:22 +02:00
2024-04-29 15:41:58 -07: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.