Repository navigation
Conversation
There was a problem hiding this comment.
how about rename this as user_action.py?
|
@OpenHands rename intervention.py to user_action.py update any imports that reference the file |
|
I'm on it! malhotra5 can track my progress at all-hands.dev 🟡 Solvability: MEDIUM This is a straightforward file renaming task with clear instructions to rename intervention.py to user_action.py and update related imports. The request follows standard development patterns and has a well-defined scope, making it moderately solvable despite involving multiple components that need to be updated. You can make the issue easier to resolve by addressing these concerns in the conversation: • Provide specific details about which files or modules currently import intervention.py to help identify all locations that need updates Positive feedback: • The request uses clear, simple language that makes the required action immediately understandable |
Co-authored-by: openhands <openhands@all-hands.dev>
|
Task completed successfully! I have renamed |
Co-authored-by: openhands <openhands@all-hands.dev>
This PR fixes an error with pausing and confirmation mode working in conjunction.
Error description
The history will look like
However, when the agent tries to continue normally after the confirmation we get the following error
This occurs because we have a pause event in the middle of the action - observation pair. To fix this, we make sure that
PauseEventis not llm convertible. This way, it won't end up in the agent's history during llm completion and action observation pairs always match.Before
After