stats: log auto routing per prompt, hx stats routing report

This commit is contained in:
hermes committed 2026-11-10 22:08:55 +00:00
1 parent 478c007271
commit c6c4add124
5 files changed
+87 -1

No files matched your search

+1 -1
View File
@@ -92,7 +92,7 @@ One-turn override, with or without auto: start the prompt with `@opus fix this`,
Within a tier the highest-versioned model is used (`claude-opus-5-5` over `claude-opus-4-1-20250805`, `gpt-5.6-sol` over `gpt-5.5-sol`), whatever order the API lists them in; no model id is hard-coded except the offline fallback list and your `[auto]` pins.
Switching provider mid-session converts history: Codex reasoning items and unsigned thinking are dropped for Claude, tool-call ids are made Anthropic-safe. `hx stats` lists requests per model and the cache re-written after each switch.
Switching provider mid-session converts history: Codex reasoning items and unsigned thinking are dropped for Claude, tool-call ids are made Anthropic-safe. `hx stats` shows the auto choices (prompts and mean score per tier, how often a tier was held, how often the next prompt went up again; raw lines in `<session>.route`) and lists requests per model and the cache re-written after each switch.
```toml
[auto] # all optional