-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update .openhands instructions #5821
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🍰
…s-ai/openhands into rb/openhands-instructions
…s-ai/openhands into rb/openhands-instructions
<REPOSITORY_INSTRUCTIONS> | ||
{{ repo_instructions }} | ||
</REPOSITORY_INSTRUCTIONS> | ||
{% endif %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As a side note, i think it probably makes more sense to add repository instructions in the first USER message rather than system message, which is typically used to define the behavior of LLM?
@@ -1,28 +0,0 @@ | |||
OpenHands is an automated AI software engineer. It is a repo with a Python backend |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this was deleted, will the resolver find it? It doesn't seem so
OpenHands/openhands/resolver/resolve_issue.py
Line 406 in 32ee500
openhands_instructions_path = os.path.join(repo_dir, '.openhands_instructions') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should create a new issue for it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done -ish, here, it's expressed as a quick prompt for oh
#5830 , but its fix was to hardcode the new path... That can't be what we want for a microagent
End-user friendly description of the problem this fixes or functionality that this introduces
CHANGELOG: Documented the new .openhands directory for customizing prompts for individual repositories
Give a summary of what the PR does, explaining any non-trivial design decisions
Link of any specific issues this addresses
To run this PR locally, use the following command: