aws / aws/amazon-q-developer-cli
Q chat crash - The context window has overflowed, summarizing the history...:
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Rust
- Sterne
- 2k
- Forks
- 439
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Checks
- I have searched github.com/aws/amazon-q-developer-cli/issues and there are no duplicates of my issue
- I have run
q doctorin the affected terminal session - I have run
q restartand replicated the issue again
Operating system
macOS 15.5.0 (24F74)
Expected behaviour
no issue.
Actual behaviour
The context window has overflowed, summarizing the history...:
0: the context window has overflowed
Location:
crates/chat-cli/src/cli/chat/mod.rs:709
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Steps to reproduce
just continuously use q chat.
Environment
<This will be visible to anyone. Do not include personal or sensitive information>
[q-details]
version = "1.12.2"
date = "2025-06-30T22:40:01.105251Z (2d ago)"
variant = "full"
[system-info]
os = "macOS 15.5.0 (24F74)"
chip = "Apple M1 Pro"
total-cores = 10
memory = "16.00 GB"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "macOS"
install-method = "brew"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.12.2"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.apple.Terminal"
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne in crates/chat-cli/src/cli/chat/mod.rs ungefähr bei Zeile 709 und reproduziere den Fehler, indem du q chat kontinuierlich verwendest, nachdem du q doctor und q restart ausgeführt hast. Verwende RUST_BACKTRACE=1 oder RUST_BACKTRACE=full, wenn ein Überlauf des Kontextfensters auftritt. Erledigt bedeutet, dass der gemeldete q chat-Absturz behoben ist und die kontinuierliche Verwendung diesen Fehler nicht mehr erzeugt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- rust
- Bereich
- ai, cli
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100