-
Notifications
You must be signed in to change notification settings - Fork 416
Description
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
wsl linux ubuntu
Expected behaviour
Description: After a lengthy conversation (with context summary loaded), attempting a str_replace edit triggers two
consecutive ValidationException errors with "Improperly formed request" at crates/chat-cli/src/cli/chat/mod.rs:1467. The
edit actually succeeds but the response fails. No user-friendly recovery message — just raw Rust backtraces. Should
suggest /compact instead.
Actual behaviour
Description: After a lengthy conversation (with context summary loaded), attempting a str_replace edit triggers two
consecutive ValidationException errors with "Improperly formed request" at crates/chat-cli/src/cli/chat/mod.rs:1467. The
edit actually succeeds but the response fails. No user-friendly recovery message — just raw Rust backtraces. Should
suggest /compact instead.
Steps to reproduce
fill a context and keep going with a query