Skip to content

feat(web): show current-provider usage in the chat box - #1

Closed
Aditya190803 wants to merge 2 commits into
feat/provider-usage-limitsfrom
feat/usage-in-chat
Closed

feat(web): show current-provider usage in the chat box#1
Aditya190803 wants to merge 2 commits into
feat/provider-usage-limitsfrom
feat/usage-in-chat

Conversation

@Aditya190803

Copy link
Copy Markdown
Owner

Stacked on #1732. Adds opt-in remaining session/weekly usage for the current thread's provider next to the chat box.

  • Off by default: Settings → General → Show usage in chat
  • Hidden on a new thread until the first message is sent
  • Codex thread shows Codex only; switching providers switches the meter
  • If a context-window ring is visible, the bars live in that hover (not mixed into the ring number)
  • If there is no ring after a turn, a compact percent control appears next to send
  • Providers without a usable quota snapshot hide the meter

Settings (opt-in, default off)

Show usage in chat setting

Chat box hover after a turn

Session and weekly usage in the context-window hover

Test plan

  • Toggle remains off by default; empty new thread does not show a percent next to send
  • After enabling the setting and sending a message, context-window hover shows Usage bars for the current provider
  • Switching the thread's provider switches the meter; providers without quota hide it

Aditya190803 and others added 2 commits August 28, 2026 01:11
Add an opt-in setting that shows session and weekly quota for the thread's current provider in the context-window hover, instead of mixing every provider into the chat UI.

Co-authored-by: Cursor <cursoragent@cursor.com>
Empty new threads were showing a quota percent next to send. Keep the meter off until the thread has started a turn.

Co-authored-by: Cursor <cursoragent@cursor.com>
@coderabbitai

coderabbitai Bot commented Aug 27, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: f3ccf020-5a3c-4b1e-868f-b85c877a4efd

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L labels Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant