aws / aws/amazon-q-developer-cli
Q chat crash - The context window has overflowed, summarizing the history...:
- Lingua principale
- Rust
- Stelle
- 2k
- Fork
- 439
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### 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
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and 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
```yaml
[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"
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia in crates/chat-cli/src/cli/chat/mod.rs intorno alla riga 709 e riproduci il problema usando q chat continuamente dopo aver eseguito q doctor e q restart. Usa RUST_BACKTRACE=1 o RUST_BACKTRACE=full quando si verifica un overflow della finestra di contesto. Il lavoro è completato quando il crash segnalato di q chat è stato risolto e l'uso continuo non produce più questo errore.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- rust
- Ambito
- ai, cli
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100