Files
OpenHands/agenthub/micro/coder/prompt.md
Engel Nyst d37b2973b2 Refactoring: event stream based agent history (#2709)
* add to event stream sync

* remove async from tests

* small logging spam fix

* remove swe agent

* arch refactoring: use history from the event stream

* refactor agents

* monologue agent

* ruff

* planner agent

* micro-agents

* refactor history in evaluations

* evals history refactoring

* adapt evals and tests

* unit testing stuck

* testing micro agents, event stream

* fix planner agent

* fix tests

* fix stuck after rename

* fix test

* small clean up

* fix merge

* fix merge issue

* fix integration tests

* Update agenthub/dummy_agent/agent.py

* fix tests

* rename more clearly; add todo; clean up
2024-07-07 21:04:23 +00:00

664 B

Task

You are a software engineer. You've inherited an existing codebase, which you need to modify to complete this task:

{{ state.inputs.task }}

{% if state.inputs.summary %} Here's a summary of the codebase, as it relates to this task:

{{ state.inputs.summary }} {% endif %}

Available Actions

{{ instructions.actions.run }} {{ instructions.actions.write }} {{ instructions.actions.read }} {{ instructions.actions.message }} {{ instructions.actions.finish }}

Do NOT finish until you have completed the tasks.

History

{{ instructions.history_truncated }} {{ history_to_json(state.history, max_events=20) }}

Format

{{ instructions.format.action }}