mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4742] [Engine] serve: agree the scope: keeping the Monitor's token counts, and pricing them #2174
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2174
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @au70ma70n on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4742
Part of the token-costing work is a feature and a default change, so per CONTRIBUTING the scope wants agreement before the code does. Three pull requests tell one story, in this order:
<name>.totals.json, written when a request ends.--totals-file nonekeeps the old behaviour. This is a default change (a small file appears next to the run config, and the counters now span starts). Related: #4631, which wants a way to clear them; this keeps them and adds--totals-resetfor a costing window, but no button.cost_input_per_million,cost_output_per_million), because the machine charges nothing of its own and a dollar figure is only useful as what an API would have asked. No price set: no figure printed.The fourth pull request in the set is the settings-card layout fix, which is a fix, not a feature, and needs no agreement.
Nothing here changes what the engine does to a prompt; it is the Monitor's counting and the arithmetic beside it. Validation on each branch:
serve.test_totalsplustest_prometheus,test_monitor,test_request_accounting,test_lifecycle,test_web_i18n- 43, 54, 62 and 73 tests in landing order, all OK, 2 skipped (nodemissing, symlinks need privilege). Not run:npm testand the Terminal suite, and any figure against a real API bill.Strata version: 0.2.10 (engine 0.1.56) -
strata.py --versionprintedstrata 0.2.10 (build 0.1.56; python 3.10.11), andengine\strata.exe --versionprintedstrata 0.1.56.Graphics card, memory and system: NVIDIA GeForce RTX 5090 with 32 GB VRAM
(
nvidia-smi: 32607 MiB, driver 621.01), 128 GB RAM, Windows 11 Pro build 26200.An AMD Radeon integrated GPU is also present but Strata ran on the RTX 5090.
@github-actions[bot] commented on GitHub (Oct 30, 2026):
Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:
strata --version).Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment
/reopen.Details: CONTRIBUTING.md
@github-actions[bot] commented on GitHub (Nov 5, 2026):
Closing this issue because it still did not follow the format after 5 days. That is housekeeping, not a rejection.
To bring it back: fix the title (area prefix) and the missing parts, then comment
/reopen. A check runs and reopens it, or tells you what is still missing. See CONTRIBUTING.md.@au70ma70n commented on GitHub (Nov 5, 2026):
/reopen
@github-actions[bot] commented on GitHub (Nov 5, 2026):
Thanks, this follows the format now.
@github-actions[bot] commented on GitHub (Nov 5, 2026):
Reopened, thank you. A maintainer will pick it up from here.