CommandCodeAI / CommandCodeAI/command-code

Context Window Visual Reference.

オープン
#348 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

p2
主要言語
言語のデータがありません
スター
4k
フォーク
350
PR マージ指標
30日以内にマージされた PR はありません

説明

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:

  1. 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.
  2. 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

Image

Scenario 2: > 80% token context usage

Image
Additional Context

No response

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

この issue には視覚的な参照が示されていますが、ファイル、テスト、エントリーポイントの名前はありません。まず既存のコンテキスト使用率の表示を見つけ、トークン使用量の計算方法を確認してください。完了の条件は、説明されている両方の使用シナリオで、使用済みコンテキストと利用可能なコンテキストの生の数値を表示することです。

索引モデルが issue の本文から書いたものです。

評価

領域
ai, cli
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。