[Feat] show credit usage in chat responses and session popover
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- java
- Domain
- developer-experience
Research direction
Start by locating the Eclipse plugin's chat response rendering and session information popover, then trace how credit consumption and context-window usage are available to the UI. Done means a response hover shows per-turn credit usage and the session popover shows total credits and cumulative context tokens, with behavior comparable to the linked VS Code guidance.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
I can't see how many credits I've been using.
Describe the solution you'd like
I expect the credit usage to be shown similar to Copilot for VS Code:
https://code.visualstudio.com/docs/agents/guides/optimize-usage#_monitor-your-usage
In particular:
To view the cost for a single request, hover over the chat response to see the credit consumption for that turn.
and
The session info popover shows the total cost in credits and the cumulative context window token usage for the whole session
Describe alternatives you've considered
I have to run my prompt in VS Code if I want to see how many credits are being consumed by that prompt.
Additional context
Organizations on GitHub may configure a monthly credit limit. When that limit is reached then we start asking ourselves how we can watch how many credits each of us are consuming. Not being able to see the credit usage is problematic for developers using the Eclipse plugin.
- Dominant language
- Java
- Stars
- 126
- Forks
- 60
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 5
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/copilot-for-eclipse
-
[Bug] Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
microsoft/copilot-for-eclipse#451 ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
microsoft/copilot-for-eclipse#450 · 1 reaction ·
-
[Feat] Expose/allow configuration of github.copilot.chat.virtualTools.threshold in Eclipse Copilot Openenhancement
Difficulty 4/5 3-5 days Newbie friendliness 48/100
microsoft/copilot-for-eclipse#449 ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 72/100
microsoft/copilot-for-eclipse#446 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
microsoft/copilot-for-eclipse#441 ·
All issues in microsoft/copilot-for-eclipse
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100