vscode-copilot-release icon indicating copy to clipboard operation
vscode-copilot-release copied to clipboard

Improve chat session management

Open roblourens opened this issue 1 year ago • 8 comments

  • Check naming- eg "All Sessions" instead of "History"
  • Let the user rename sessions
  • Show a dropdown of sessions in the view title?
    • How do we combine this with the management (x to remove, pencil icon to rename) that we can do in a picker?

roblourens avatar Jan 08 '24 15:01 roblourens

Love that you started on this! There was an interesting discussion in Zurich standup today, and I just wanted to summarise it here:

  • Love for less buttons in the Chat Title area.
  • Feedback button does not belong on every chat message, feedback is general and might fit well under ...
  • We should explore Dropdown for showing multiple sessions. Might be cluttered, but will know better once there is a mock. I personally like how Terminal manages multiple sessions, but this will probably not work in sidebar due to constrained horizontal space.
  • Love for how ChatGPT manages sessions. Every time a user goes to ChatGPT they do not have to do anything, there is a new session waiting and a nice history. Can we reduce clunky manual session management that users have to do? For example:
  1. Currently we preserve sessions on Window reload, or when user reopens a workspace. Is this the optimal experience? Alternative we could always show the Chat Welcome view that has pointers to older sessions. So by default user will start a new session, but can easily pick an older session.
  2. ChatGPT uses AI to summarise chats to get a good title, if it can not just uses the name "New Chat". Can we do something similar to get a good name for each chat?

If we decide to do 1, it is a good candidate for an experiment.

In the standup there was also discussions about how to improve the issue that when you start talking to an @agent, you always have to explicitly mention that @agent. This is also the feedback that we are getting from extension partners. I think it is an important thing we must tackle, but orthogonal to this.

isidorn avatar Jan 17 '24 13:01 isidorn

@isidorn for 1: Restoring sessions by default I think is a good thing. We can also show a New Chat action in place of the prompt suggestion when we restore:

image

hbons avatar Jan 17 '24 14:01 hbons

We should explore Dropdown for showing multiple sessions. Might be cluttered, but will know better once there is a mock.

There is a mock, sounds like you didn't get to that though

roblourens avatar Jan 17 '24 15:01 roblourens

dropdown mockup: image

hbons avatar Jan 17 '24 15:01 hbons

definitely +1 for autogenerated names, as image is not clear at all. Shouldnt be too difficult to implement.

Another thing, that lies on the heart of many is to be able to view all chats from all repos, as there is often important information hidden in these chats, Plus one code base can be used in github codespaces, downloaded once again from github etc. and then all the chats get lost even though it is the same codebase

Wladefant avatar Feb 12 '24 13:02 Wladefant

I'm really glad you're looking at ways to improve the session management, I try to keep a lot of different chats going to keep the context of each chat clearer. Just being able to name a chat and have that chat name show up in the dropdown would be nice, right now I start off each chat with 'Let's name this chat XYZ'. It'd be nice if the chat dropdown had the name of the chat and maybe the timestamp of the last entry.

it'd be really slick if you could with a press of a button turn a chat into a github issue and upload the chat history right into the issue/link it to a PR so you could see how things developed, and that UI should probably be tied to whatever you improvements you make to session management.

epaulson avatar Feb 17 '24 20:02 epaulson

Would like to chime in and suggest the way Raycast does it. Chat sessions is new by default unless it is being revisited within x amount of time (say 5 minutes or some sane number).

HemalR avatar Feb 26 '24 05:02 HemalR

Would love to see auto-generated titles. Currently the list of chats just shows truncated text from the first message which is not very useful.

diminutivesloop avatar Apr 17 '24 18:04 diminutivesloop

For August:

  • LLM-generated chat titles
  • Tracking the date of the last request on chat sessions, and sorting them by this
  • Showing the age of the chat session in the picker
  • Showing chats that are currently open, with an 'active' marker
  • Letting the user rename the session manually

Looks like this right now

Image

Still to do later

  • A dropdown in the title area to pick the chat?

roblourens avatar Aug 19 '24 18:08 roblourens