aws / aws/amazon-q-developer-cli
Improve shell command output handling to avoid context overflow
Open
- Dominant language
- Rust
- Stars
- 2k
- Forks
- 439
- PR merge metrics
- No merged PRs in 30d
Description
When invoking shell commands (e.g. build), the tool often produces a very long output, which can easily blow the LLM’s context window during evaluation or downstream reasoning.
Proposal:
Let the LLM decide how much of the output to read:
Either full output (if needed for context),
Or just the last N lines (e.g., tail 20),
Or allow tool to summarize the output (e.g., by heuristics or patterns).
Contributor guide
Assessment
This issue has not been assessed yet.