mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-08-01 12:34:55 +00:00
rawContextTokens was only re-derived on ContextModel mutations, so a fresh measurement left it stale until the next append (raw could read below the projected size). contextTokens only carried the measured prefix, lagging the unmeasured tail by a step and diverging from the getStatus() caliber after resume. Publish both gauges together on every live change to ContextModel or ContextSizeModel, with contextTokens now reporting get().size (measured prefix plus the tail estimate) — the same caliber getStatus() already used. The op's toEvent channel is removed in favor of the single publisher. |
||
|---|---|---|
| .. | ||
| nodes | ||
| tree.yml | ||