CommandCodeAI / CommandCodeAI/command-code
Context Window Visual Reference.
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 4k
- Forks
- 350
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Feature Description
A small indicator of available/used context window instead of the current implementation which uses Percentage of context used rather than raw numbers. Also the current context is hidden if usage is below 80%.
Use Case
Reason for asking such a feature:
- Sometimes adding and downloading skills can bloat the context window by a magnitude and degrade code quality and debugs. Being able to visually see the context windows is a blessing in disguise that can help tackle such issues.
- Prompting long contexts on a models can be heavy based on the task and its complexity, giving a model longer task even at smaller context left can degrade its code quality if it is already in the middle of a code. Having a reference of context window helps in planning the prompts a little bit better and in patches.
I’ve added some visual references to the minified code to get it working for me. I’d appreciate it if they could be used as a reference.
Scenario 1: < 80% token context usage
Scenario 2: > 80% token context usage
Additional Context
No response
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Das Issue liefert visuelle Referenzen, nennt aber keine Dateien, Tests oder Einstiegspunkte. Finde zuerst die bestehende Anzeige des Prozentsatzes der Kontextnutzung und bestätige, wie die Token-Nutzung berechnet wird; abgeschlossen bedeutet, in beiden beschriebenen Nutzungsszenarien die Rohzahlen für den verwendeten und verfügbaren Kontext anzuzeigen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Bereich
- ai, cli
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100