-
Notifications
You must be signed in to change notification settings - Fork 14
Description
What problem or use case are you trying to solve?
After closing a CLI session, I would like to review the previous conversations I had, but there's no way to do this in the CLI.
AC:
-
When a conversation ends, we should show the conversation ID so it can be resumed
-
Support a new command like
/convthat will show the most recent 10 conversations from~/.openhands/sessionsOR wherever the sessions are stored based on configurations.
It will basically list smth like:
- [CONVO ID 1] [Created at: XXX] Initial user message: ABCD...[truncated at 100 characters]
- [CONVO ID 2] [Created at: XXX] Initial user message: ABCD...[truncated at 100 characters]
- If the user has authenticated via their OpenHands Cloud account, we should also show the active conversations in the Cloud (active = a runtime is starting up or running) within the
/convlist.
Implementation notes:
-
You can find initial user messages by checking the JSONs ({0,1,2,3,4,5,6,...}.json in order) and look for
"action": "message"and"source": "user"and get the.args.contentfield as the user message. -
We should allow the user to enter each conversation to view the [all user messages] from that conversation.
-
We should also add a button and the button to move to next page/previous page.