mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-09 14:57:59 -05:00
22 lines
733 B
Markdown
22 lines
733 B
Markdown
---
|
|
name: update_test_for_new_implementation
|
|
version: 1.0.0
|
|
author: openhands
|
|
agent: CodeActAgent
|
|
inputs:
|
|
- name: BRANCH_NAME
|
|
description: "Branch for the agent to work on"
|
|
required: true
|
|
- name: TEST_COMMAND_TO_RUN
|
|
description: "The test command you want the agent to work on. For example, `pytest tests/unit/test_bash_parsing.py`"
|
|
required: true
|
|
---
|
|
|
|
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.
|