ubuntu / ubuntu/startriage

Limit the use of tokens while triaging with --ai

Open
#8 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
3
Forks
5
Avg merge
1d 9h
Merged PRs (30d)
2

Description

some bugs may require more investigation/testing than others, leading to higher token consumption.

We need a way to configure startriage to limit the effort to a number of tokens. Ideally, it would stop the iteration and ask if the user wants to continue spending - so there is more control on the costs.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the --ai command entry point and trace how triage iterations consume tokens. Identify where configuration and iteration stopping are handled; done means a configurable token limit pauses the process and asks whether to continue, with tests covering the limit and prompt.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.