Skip to content

Allow to set a token limit for a task #3012

@laeubi

Description

@laeubi

Describe the feature or problem you'd like to solve

Currently each request consumes a certain predicable amount of premium requests - this will change soon and make it completely unpredictable, a task might accidently eat up thwo whole budget for a month.

Proposed solution

With the upcoming https://github.blog/news-insights/company-news/github-copilot-is-moving-to-usage-based-billing/ it becomes completely unpredictable how much costs a request possibly consumes.

It would therefore be good to set a limit per session / request. If the limit is approached, copilot should ask for confirmation what to do that could be:

  1. Complete as soon as possible with what was already accomplished
  2. Continue with an increased budget
  3. ....

Example prompts or workflows

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:configurationConfig files, instruction files, settings, and environment variablesarea:sessionsSession management, resume, history, session picker, and session state
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions