Skip to content
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

Add ability to resume session #197

Open
Jacck opened this issue Oct 28, 2024 · 1 comment
Open

Add ability to resume session #197

Jacck opened this issue Oct 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Jacck
Copy link

Jacck commented Oct 28, 2024

I left the session overnight, I'm still on the session, I didnt close it. but LLM is not responding. Info from Ubuntu terminal: 2024-10-27 22:13:21,289 - INFO - AgentController task was cancelled 2024-10-27 22:13:21,292 - INFO - Session Finished 2024-10-27 22:14:08,595 - INFO - Session {number} and related resource have been removed due to inactivity. How can I resume the session to continue work with same context?

@neubig
Copy link
Contributor

neubig commented Oct 29, 2024

Hmm, good question. Right now this is not directly supported, unfortunately. As a workaround you can probably

  1. cd into the appropriate sub-directory of the output directory (cd output/patch_{issue_number})
  2. commit the changed code
  3. push a branch to the repo and open a PR
  4. add a comment about what still needs to be implemented
  5. run resolve_issues.py with --issue-type pr

I think it'd be good to have better session resume functionality in the future though.

Resuming sessions is already implemented in OpenHands proper, so we can probably do it here too.

@neubig neubig added the enhancement New feature or request label Nov 4, 2024
@neubig neubig changed the title Resume session Add ability to resume session Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants