aws / aws/amazon-q-developer-cli
ux: /compact should show before/after context usage
- Lingua principale
- Rust
- Stelle
- 2k
- Fork
- 439
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
As an extension of #1313 , we should show before and after usage stats, so that we can understand the impact of both compaction and user rules files on the size of the requests they are sending to the model.
eg.
Current context window
Current context window (190k of 200k tokens used)
███████████████████████████████████████████████████████████████████████████████|█ 98.60%
█ Context files: ~30850 tokens (15.42%)
█ Q responses: ~32360 tokens (0.18%)
█ Your prompts: ~492301 tokens (83.00%)
Compacting.....
✔ Conversation history has been compacted successfully!
• The assistant has access to all previous tool executions, code analysis, and discussion details
• The assistant will reference specific information from the summary when relevant
New context window (31200 of 200k tokens used)
████████████|████████████████████████████████████████████████████████████████████ 15.60%
█ Context files: ~30850 tokens (15.42%)
█ Q responses: ~360 tokens (0.18%)
█ Your prompts: ~0 tokens (0.00%
════════════════════════════════════════════════════════════════════════════════
CONVERSATION SUMMARY
════════════════════════════════════════════════════════════════════════════════
lots of text
This summary is stored in memory and available to the assistant.
It contains all important details from previous interactions.
════════════════════════════════════════════════════════════════════════════════
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia dall’implementazione del comando /compact e segui il punto in cui viene assemblato il suo output di stato. Confronta i valori di context-usage prima e dopo mostrati nell’issue, inclusi i file di contesto, le risposte e i prompt; il lavoro è completato quando il comando riporta chiaramente entrambi gli insiemi di statistiche e il risultato della compattazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- rust
- Ambito
- cli
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 38/100