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

feature: Manual history clearing #823

Open
segersniels opened this issue Nov 7, 2024 · 2 comments
Open

feature: Manual history clearing #823

segersniels opened this issue Nov 7, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@segersniels
Copy link

segersniels commented Nov 7, 2024

Feature request

With the recent addition of keeping track of conversational context of previous question I am now in need of an option to clear the chat history manually. Each time I ask a question in the same file the previous context get sent and the cost per prompt keep increasing since the input tokens keep becoming bigger and bigger.

If this is already possible, how do I do this exactly? I would expect :AvanteClear to clear the chat, but that doesn't seem to do that.

Motivation

Decreasing user cost

Other

No response

@segersniels segersniels added the enhancement New feature or request label Nov 7, 2024
@ryul99
Copy link
Contributor

ryul99 commented Nov 8, 2024

Can you try /clear in AvanteChat? It works for me

image

@segersniels
Copy link
Author

segersniels commented Nov 8, 2024

That works, is it documented anywhere? However it does seem to also close the chat which feels kind of odd as you're trying to ask a question but get thrown out of the flow 🤔

Also what exactly is the difference between /clear and :AvanteClear?

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