aws / aws/amazon-q-developer-cli

q chat cli stopped responding with error messages

Aperta
#1,273 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
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.3.2 (24D81)

### Expected behaviour

I expect q chat cli to continue providing response until complete

### Actual behaviour

q chat cli provided incomplete response with these errors
mazon Q is having trouble responding right now:
0: Failed to receive the next message: request_id: 41c185e0-2aa0-4013-8845-faa001ea0818, error: InternalServerError: Encountered an unexpected error when processing the request, please try again.
1: Failed to receive the next message: request_id: 41c185e0-2aa0-4013-8845-faa001ea0818, error: InternalServerError: Encountered an unexpected error when processing the request, please try again.
2: InternalServerError: Encountered an unexpected error when processing the request, please try again.
3: InternalServerError: Encountered an unexpected error when processing the request, please try again.
4: service error
5: InternalServerError: Encountered an unexpected error when processing the request, please try again.
6: InternalServerError: Encountered an unexpected error when processing the request, please try again.

Location:
crates/q_cli/src/cli/chat/mod.rs:676

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

### Steps to reproduce

start q chat cli and interact with it with the pdd script in AmazonBuilderGenAIPowerUsersQContext package

### Environment

```yaml

[q-details]
version = "1.7.3"
hash = "3e4ae79d371315e80ddac772b43fff2cba314104"
date = "2025-04-10T05:48:16.435186Z (7d ago)"
variant = "full"

[system-info]
os = "macOS 15.3.2 (24D81)"
chip = "Apple M3 Pro"
total-cores = 12
memory = "36.00 GB"

[environment]
cwd = "/Users/USER"
cli-path = "/Users/USER"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "iTerm 2"
install-method = "unknown"

[env-vars]
DISPLAY = "/private/tmp/com.apple.launchd.W2lpXaQ7tp/org.xquartz:0"
PATH = "/Users/USER/.nvm/versions/node/v16.20.2/bin:/Users/USER/bin:/Users/USER/.local/bin:/Users/USER/.toolbox/bin:/usr/local/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/usr/local/zfs/bin:/Users/USER/.cargo/bin:/Applications/iTerm.app/Contents/Resources/utilities:/Users/USER/.local/bin:/Users/USER/Library/Application Support/JetBrains/Toolbox/scripts:/Applications/Visual Studio Code.app/Contents/Resources/app/bin:/Users/USER/.local/bin"
QTERM_SESSION_ID = "5a2ac2e98b654a61b8c1328832c0d044"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.7.3"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.googlecode.iterm2"
```

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start at crates/q_cli/src/cli/chat/mod.rs around line 676 and reproduce the failure with q chat using the reported pdd script. Inspect how the repeated InternalServerError is surfaced and identify the relevant tests or test coverage. Done means the incomplete-response failure is handled or reported as intended and the behavior is covered by tests.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust
Ambito
cli
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.