The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(local-runtime): catalog rows advertise the overhead-priced window
emozilla83224e70307b
diff --git a/hermes_cli/web_routers/local_models.py b/hermes_cli/web_routers/local_models.pyindex 74b02fc8653..612b4bc58a7 100644--- a/hermes_cli/web_routers/local_models.py+++ b/hermes_cli/web_routers/local_models.py@@ -447,7 +447,10 @@ async def local_models_catalog():the 64K floor; else the smallest that works, spilled and priced). Noentry is hidden; unaffordable models show WHY."""from hermes_cli.local_runtime.catalog import CATALOG, select_variant- from hermes_cli.local_runtime.context_policy import initial_window+ from hermes_cli.local_runtime.context_policy import (+ RUNTIME_OVERHEAD_BYTES,+ initial_window,+ )from hermes_cli.local_runtime.estimator import PhysicsRefusalfrom hermes_cli.local_runtime.hardware import probe_budget@@ -492,7 +495,13 @@ async def local_models_catalog():variant = choice.variantprofile = entry.profile(variant)- decision = initial_window(profile, budget)+ # Same overhead the launch decision prices (runtime buffers ++ # vision projector): the row must advertise the window the model+ # will actually get, not a paper number the server's own fit then+ # shaves down.+ overhead = RUNTIME_OVERHEAD_BYTES + (+ entry.mmproj.size_bytes if entry.mmproj else 0)+ decision = initial_window(profile, budget, overhead_bytes=overhead)download_total = entry.download_bytes(variant)row.update({"fits": True,