mirror of
https://github.com/teamchong/pxpipe.git
synced 2026-07-22 02:02:51 +02:00
1cb62c1786
- "How your context works" panel: per-request token flow (as-text -> real) plus the exact-char bucket breakdown of what became images and a gallery of every rendered page, opened via a "view" link on each recent-requests row. - "compress models" chips are the union of a catalog (Fable 5, Opus 4.8/4.7, Sonnet 4.6, Haiku 4.5), the PXPIPE_MODELS env scope, and the active scope, so any env-enabled model stays toggleable (off <-> on); runtime-only override. - Opus is OFF by default (Fable-5-only scope); opt-in via env or the chips. Fixes from the code review: - contextHistory cap aligned to the recent table (was 30 < 50, so older "view" links silently showed the latest request's breakdown); an evicted or unrecorded request now shows an explicit "no longer available" message. - the session headline phrases a net loss as "N% more tokens" instead of rendering a garbled "-7% fewer tokens".