mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-11 13:41:53 +00:00
The salvaged fix guards with `if ctx_max and last_prompt`, but last_prompt comes from `last_prompt_tokens or 0` — the post-compression -1 sentinel (conversation_compression) is truthy, so it leaked context_used=-1 on the transitional turn. Clamp <0 to 0 so it reads as unknown (no gauge), matching the CLI status-bar path (cli.py _get_status_bar_snapshot). Follow-up on the salvaged #50518 (r266-tech). |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| entry.py | ||
| event_publisher.py | ||
| git_probe.py | ||
| loop_noise.py | ||
| project_tree.py | ||
| render.py | ||
| server.py | ||
| slash_worker.py | ||
| transport.py | ||
| ws.py | ||