mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
Co-authored-by: openhands <openhands@all-hands.dev> Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
20 lines
654 B
Markdown
20 lines
654 B
Markdown
---
|
|
name: update_test
|
|
version: 1.0.0
|
|
author: openhands
|
|
agent: CodeActAgent
|
|
triggers:
|
|
- /update_test
|
|
inputs:
|
|
- name: BRANCH_NAME
|
|
description: "Branch for the agent to work on"
|
|
- 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`"
|
|
---
|
|
|
|
Can you check out branch "{{ BRANCH_NAME }}", and run {{ TEST_COMMAND_TO_RUN }}.
|
|
|
|
The current implementation of the code is correct BUT the test functions {{ FUNCTION_TO_FIX }} in file {{ FILE_FOR_FUNCTION }} are failing.
|
|
|
|
Please update the test file so that they pass with the current version of the implementation.
|