OpenHands/microagents/tasks/get_test_to_pass.md
Xingyao Wang c1b514e9d3
refactor: restructure microagents system (#5886)
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: Graham Neubig <neubig@gmail.com>
2025-01-03 07:13:18 +09:00

934 B

name, type, version, author, agent, inputs
name type version author agent inputs
get_test_to_pass task 1.0.0 openhands CodeActAgent
name description required
BRANCH_NAME Branch for the agent to work on true
name description required
TEST_COMMAND_TO_RUN The test command you want the agent to work on. For example, `pytest tests/unit/test_bash_parsing.py` true
name description required
FUNCTION_TO_FIX The name of function to fix false
name description required
FILE_FOR_FUNCTION The path of the file that contains the function false

Can you check out branch "{{ BRANCH_NAME }}", and run {{ TEST_COMMAND_TO_RUN }}.

{%- if FUNCTION_TO_FIX and FILE_FOR_FUNCTION %} Help me fix these tests to pass by fixing the {{ FUNCTION_TO_FIX }} function in file {{ FILE_FOR_FUNCTION }}. {%- endif %}

PLEASE DO NOT modify the tests by yourselves -- Let me know if you think some of the tests are incorrect.