Skip to content

v2.3.0

Choose a tag to compare

@SmetDenis SmetDenis released this 22 Jul 11:29
· 26 commits to main since this release
f3b2a0a
  • Configurable metric order. New admin display_order valve sets the order of the stats line via a comma-separated list of metric keys (input, output, total, reasoning, cached, audio, context, time, tps, cost, cost_total, model, source). The field is pre-filled with the full default order for discoverability — reorder or trim it (empty also means default, so it stays fully backward-compatible). Ordering only — the existing show_* toggles still decide visibility (removing a key does not hide it, it moves to the end), and enabled-but-unlisted metrics are appended in the default order. Unknown / misspelled keys are ignored and surfaced under a new display_order block in the debug_mode payload.
  • Configurable line appearance. New admin valves: separator (string between items, default ·); icon_style — emoji (default), simple (monochrome unicode, e.g. ↑ ↓ Σ, context severity ○ ◐ ●), or off (bare values, no icons); and compact_numbers (abbreviate the six token counters as k/M, matching the context-window style). All default to the previous behavior, so the line is byte-identical out of the box.
  • Cost display threshold. New cost_min_display valve hides message/cumulative cost below a USD threshold (default 0.0 shows everything, including $0.00).
  • Metric order is now admin-only — the earlier per-user override was dropped as unnecessary; UserValves.enabled (hide the whole line for yourself) is unchanged.