aws / aws/amazon-q-developer-cli

Context Window Overflow Causes Amazon Q to Lose Current Prompt

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

Description

Currently, when Amazon Q's context window overflows, it summarizes the conversation history. However, this process appears to include the most recent user prompt in the summarization, causing Q to lose focus on the specific question and respond with generic information that broadly applies to the entire context rather than addressing the immediate query.

**Desired Behavior**:
Amazon Q should preserve the most recent user prompt separately from the summarized context, ensuring it can provide a focused response to the current question after the summarization occurs.

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.