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

I can’t continue asking questions without reloading when I reached a limit. #70

Closed
smon1127 opened this issue Mar 18, 2023 · 4 comments
Labels
bug Something isn't working UI Aesthetics and ergonomy

Comments

@smon1127
Copy link

After a while of using the same windows without reloading I can’t continue asking questions without reloading. Any thoughts why this happens?

Error:
This model's maximum context length is 4097 tokens. However, your messages resulted in 4137 tokens. Please reduce the length of the messages.

image

@felixbade
Copy link
Owner

This is a limitation of the ChatGPT API – the way it remembers old messages in the conversation is by sending the whole conversation every time with a new message. At some point, the conversation becomes too long to fit the token limit.

Since this also means that longer conversations cost more for each new message, it could make sense to have a configuration in assistant.bloat.app that only sends the latest x messages (say, default 10).

@felixbade felixbade added the bug Something isn't working label Mar 18, 2023
@felixbade
Copy link
Owner

Even though this is a limitation of the API, I added the bug label because this is unintuitive and should be addressed by the UI in some way or another.

@felixbade
Copy link
Owner

Now that there is a settings page, there could be a limit for how many last messages are sent to the AI.

@felixbade felixbade added the UI Aesthetics and ergonomy label Mar 29, 2023
@felixbade
Copy link
Owner

Fixed in v1.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working UI Aesthetics and ergonomy
Projects
None yet
Development

No branches or pull requests

2 participants