UI shows costs for all sessions even when drilled into a session
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 70/100
Research direction
The UI shows cost summaries for all sessions even when viewing a single session. Look at the code that renders the cost bar in the CLI output, likely in a UI component or formatting function. Check how session data is filtered and where cost aggregation happens. Verify the fix by running the CLI and drilling into a session to see the updated cost display.
Written by the indexing model from the issue text.
Description
It confused me to see costs when I was viewing a Bob session:
abctl · Can I configure environment variables for Bob Shell to use when it starts? (cf6d4a762a052c650dbe46ee933d676d)
LAST 1H $7.53+ · TODAY $31.25+ · 7 DAYS ~$618.07+ · THIS MONTH —
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
# DIR PHASE METHOD STATUS DURATION TOKENS COST▼ HOST
1 out req premium-ide 8,131 api.us-east.bob.ibm…
1 out resp premium-ide 200 3.12s 117 api.us-east.bob.ibm…
2 out req initialize api.us-east.bob.ibm…
2 out resp initialize 200 30ms api.us-east.bob.ibm…
3 out req notifications/ini… api.us-east.bob.ibm…
3 out resp notifications/ini… 202 26ms api.us-east.bob.ibm…
5 out req tools/list api.us-east.bob.ibm…
5 out resp tools/list 200 30ms api.us-east.bob.ibm…
6 out req tools/call api.us-east.bob.ibm…
6 out resp tools/call 200 173ms api.us-east.bob.ibm…
7 out req premium-ide 9,217 api.us-east.bob.ibm…
7 out resp premium-ide 200 2.24s 36 api.us-east.bob.ibm…
If a session has no cost, I expected the cost bar to show $0 or unknown.
- Dominant language
- Go
- Stars
- 13
- Forks
- 40
- Avg merge
- 12h 17m
- Merged PRs (30d)
- 187
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 rossoctl/cortex
-
Bob Shell support Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
nice to have
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
santhosh-tekuri/jsonschema#276 ·
-
stage-fail
Difficulty 1/5 Under an hour Newbie friendliness 75/100
siyuan-note/bazaar#2270 ·