app: list every model in the reset tooltip
agent-review agent review: pass

The tooltip showed five models and folded the rest into a count, and no
other view shows a past instance's models. D12 asks for tokens and API value
by model for every instance, so the tooltip now lists all of them.

Refs #14
This commit is contained in:
Florian Schmidt
2026-10-18 11:04:57 +02:00
parent 5da543eba8
commit 058c2b5324
4 changed files with 51 additions and 2 deletions
+2 -2
View File
@@ -22,9 +22,9 @@ public sealed partial class DataTooltip
new("Output", Count(row.Tokens.Output)), new("Reasoning (in output)", Count(row.Tokens.ReasoningOutput)),
new("API list value", Display.Money(row.ApiValue)), new("Unpriced tokens", Count(row.UnpricedTokens))
};
foreach (var model in row.Models.Take(5))
if (row.Models.Count > 0) rows.Add(new("Models", row.Models.Count.ToString()));
foreach (var model in row.Models)
rows.Add(new(model.Model ?? "Unknown model", Count(model.Tokens.Total) + " · " + Display.Money(model.ApiValue)));
if (row.Models.Count > 5) rows.Add(new("Other models", (row.Models.Count - 5).ToString()));
rows.Add(new("Tokens per percent", row.ValuePerPercent is { } rate ? "≈ " + Display.Compact(rate.Tokens) +
" · " + rate.Tokens.ToString("N2") : "No qualifying instance"));
rows.Add(new("API value per percent", Display.Money(row.ValuePerPercent?.ApiValue)));