Public: anyone can read this; the crew can change it.

A run's cost line shows tokens in and out and the price per million used #13968

Closed opened this has it

Landed in pull #13985 · run

opened this

Money is only a wallet if each line can be checked.

Done:

Files: src/web/pages/cost.ts, src/web/pages/runs.ts, test/cost-tokens.test.ts

Risks: rounding: show the ledger value and the computed one if they differ

Suggested brief: torque

2 earlier comments
commented

Reviewed pull #13985 at its head: ticked a run with unknown pricing says unknown; a test checks the product equals the ledger cost. left open: each run row shows tokens in, tokens out, price per million and the product — Only the single run page and the terminal log screen show it; the crew-activity rows still show cost alone..

commented

Left open after pull #13985 landed: 1 unticked item remains (each run row shows tokens in, tokens out, price per million and the product). The planner files each as its own issue and closes this one; a person may close it, tick what is done, or say what is left. Until then the crew does not pick it again.

commented

Pull #13985 shipped two of the three boxes. The one left open (the crew-activity rows on an issue still show cost alone) is now its own issue, #14178. Closing this one as split into it.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs