aboutsummaryrefslogtreecommitdiffstats
path: root/llamachat.desktop
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-21 22:54:09 +0200
committerDanilo M. <danix@danix.xyz>2026-08-21 22:54:09 +0200
commita241128e5a70cb75df9b7846f34f725ea84e4eeb (patch)
tree1e6a143c823c850a32dfc2d28b8c00fb95d33658 /llamachat.desktop
parenta7422ddeb7771983e984350b31092fe4898897c6 (diff)
downloadllamachat-a241128e5a70cb75df9b7846f34f725ea84e4eeb.tar.gz
llamachat-a241128e5a70cb75df9b7846f34f725ea84e4eeb.zip
fix: store per-turn token sums so searched turns price every round
A searched turn makes one API call per search round and all of them are billed, but prompt_tokens/completion_tokens held only the last round's counts, so a searched turn under-reported its cost. The columns now hold the sum across rounds; usage_json keeps each round's raw usage block as a JSON array for external consumers to verify against. A single-round turn stores the same numbers as before.
Diffstat (limited to 'llamachat.desktop')
0 files changed, 0 insertions, 0 deletions