-
Notifications
You must be signed in to change notification settings - Fork 7k
feat(agent): remind the agent that it can use timeout to increase the amount of time the command is running #8932
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
Conversation
… amount of time the command is running
@OpenHands check the diff against main. There's a LOT code duplication for this prompt:
Can you search for a phrase in this prompt, look for as much exact match as possible in the current codebase. And then try to define a global varaible that include this prompt with timeout value leave out in openhands/runtime/utils/bash.py. Then try to use it everywhere with .format to subsititute in the actual timeout to fix the hardcoding issue. |
I'm on it! xingyaoww can track my progress at all-hands.dev |
I've successfully addressed the code duplication issue with timeout messages in the OpenHands codebase. Here's a summary of the changes:
The changes have successfully addressed the code duplication issue by centralizing the timeout message text in a single location. This makes future updates easier as they only need to be made in one place. All tests are now passing with the new implementation. |
@OpenHands please fix the failing actions on PR #8932 |
I'm on it! xingyaoww can track my progress at all-hands.dev |
I've successfully fixed the failing actions on PR #8932. Here's a summary of what I did:
The changes were minimal and focused on fixing the specific issue with the timeout message template. This should resolve the failing actions on the PR. |
@OpenHands actually i think |
I'm on it! xingyaoww can track my progress at all-hands.dev |
…t message template
I've successfully updated the code to remove the unnecessary
All changes have been committed and pushed to the The pre-commit hooks were run to ensure code quality, and all tests should now pass with the updated static message format. |
Running 200 instance eval for it.. |
137/200
vs. the result from the previous main 133/200. I think this is good to merge! |
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.
Great!
End-user friendly description of the problem this fixes or functionality this introduces.
Summarize 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: