aws / aws/amazon-q-developer-cli
Feature Request: Add context window visibility
- Vorherrschende Sprache
- Rust
- Sterne
- 2k
- Forks
- 439
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Q chat needs to add visibility into how much context window has been consumed, especially when the amount of remaining context is getting low. Claude Code has a nice UX for this to give you some ideas.
1. Doesn't need to be super precise/accurate. Just a rough % is fine. Knowing that it's 24.32% vs 26.81% is not important to me. I'm looking for whether it's ~20% vs ~60%.
2. With the new `/context` feature, it's important to know what % is being taken up by context files. For example, `/context show --expand` could show what % context files are taking up. Or if you go with Claude Code style where they show the amount somewhere near the prompt, split it into % taken up by context files and % taken up by chat.
Beitragsleitfaden
Rechercherichtung
Beginne mit der Überprüfung des Q-Chat-Ablaufs und der bestehenden Funktion `/context`, insbesondere `/context show --expand`. Die Arbeit ist abgeschlossen, wenn die Benutzeroberfläche einen groben Prozentsatz des Kontextfensters anzeigt und die Nutzung der Kontextdatei von der Chat-Nutzung unterscheidet, ohne eine präzise Token-Abrechnung zu erfordern.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- rust
- Bereich
- ai, cli
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100