aws / aws/amazon-q-developer-cli

bug: When q chat automatically compacts, it still keeps giving context overflow error

Open
#2,103 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

### Checks

- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue

### Operating system

Ubuntu 22.04

### Expected behaviour

When the context window is about to overflow, q chat automatically compacts the conversation. I should then be able to continue using it.

### Actual behaviour

When the context window is about to overflow, q chat automatically compacts the conversation. However, it still does not remove the problem with context window overflow problem and no more requests can be processed. /usage shows only 69% context usage, but any further request shows the error --
Your conversation is too large to continue.
• Run /usage to analyze your context usage
• Run /clear to reset your conversation state

### Steps to reproduce

Use q chat to build or debug software and use it for long until the context is full.
q chat automatically compacts the coversation.
still fails to take anymore request.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.