amazon-q-developer-cli
amazon-q-developer-cli copied to clipboard
Improve shell command output handling to avoid context overflow
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).