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

Enhancement: Add a clear context button #2387

Open
1 task done
infused-kim opened this issue Apr 11, 2024 · 5 comments
Open
1 task done

Enhancement: Add a clear context button #2387

infused-kim opened this issue Apr 11, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@infused-kim
Copy link

infused-kim commented Apr 11, 2024

First of all, thank you for creating such an amazing piece of software...

What features would you like to see added?

It would be great if it was possible to clear the context without starting a new chat.

I like to organize my chats by topic or task, but frequently the previous messages are not necessary anymore. It would be great if I could just clear the context to save on cost, but retain the ability to scroll up and refer to older messages manually without needing to switch between chats.

Another UI I have been using supports this too. They just have another button above the chat input field.

In Librechat it could be added to the right sidebar.

I know ChatGPT itself doesn't offer this feature, but I think this is a useful addition for power users.

More details

None

Which components are impacted by your request?

UI

Pictures

Screenshot 2024-04-10 at 23 06 29

Code of Conduct

  • I agree to follow this project's Code of Conduct
@infused-kim infused-kim added the enhancement New feature or request label Apr 11, 2024
@danny-avila
Copy link
Owner

Great idea, maybe we can pinpoint exactly where to "start" the new context from, to offer more flexibility

@Andrew-InTheBox
Copy link

Along the same lines, some sort of automatic "running summary" feature could be interesting, as I think about clearing and using context. I know a lot of people do this manually by asking for a summary of the conversation thus far, then starting a new chat, with the intent being saving on tokens while maintaining some degree of context.

@danny-avila
Copy link
Owner

Along the same lines, some sort of automatic "running summary" feature could be interesting, as I think about clearing and using context. I know a lot of people do this manually by asking for a summary of the conversation thus far, then starting a new chat, with the intent being saving on tokens while maintaining some degree of context.

there is a running summary feature already, just not that great because it can't be configured very well. However, this will change in the coming week as part of a larger update for more configuration options.

@magicdmer
Copy link

I also need this feature, but my purpose is to reduce the conversation on the sidebar, then clear the current conversation's content and context to reuse it

@danny-avila
Copy link
Owner

danny-avila commented May 6, 2024

While more context management tools may yet be implemented, I wanted to showcase that the new forking feature addresses the request here in a different way.

You can now "fork" the context, from a specific message including all messages prior (with different options as to what messages are included):

20240505-1710-16.0556395.mp4

Similar to the request here, you can also fork "forwards", starting from the message you select:

20240505-1711-46.9341865.1.mp4

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

4 participants