All-Hands-AI / openhands-resolver

A system that tries to resolve all issues on a github repo with OpenHands.
MIT License
85 stars 20 forks source link

Fixing prompt bug #231

Closed malhotra5 closed 2 weeks ago

malhotra5 commented 2 weeks ago

This address issue #229

After Openhands function calling was updated, openhands_resolver/prompts/resolve/basic-with-tests.jinja wasn't updated to use finish action instead of <execute_bash>exit</execute_bash>

Changes

Replaced original line with

When you think you have fixed the issue through code changes, please call the finish action to end the interaction.

Note that using

When you think you have fixed the issue through code changes, please finish the interaction. still caused agent to call exit, and had to explicitly request that finish action be used.

neubig commented 2 weeks ago

Thanks!