Skip to content

Context Window Visual Reference. #348

@farrukh2002

Description

@farrukh2002

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions