The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(models): OpenRouter disk snapshot follows the configured catalog TTL, not the default constant
kshitijk4poor1eaeb73839fe
diff --git a/hermes_cli/models.py b/hermes_cli/models.pyindex 96071d4cc0a..d3e5046cfdb 100644--- a/hermes_cli/models.py+++ b/hermes_cli/models.py@@ -154,9 +154,10 @@ _openrouter_catalog_cache: list[tuple[str, str]] | None = Nonedef _openrouter_catalog_disk_ttl() -> float:- from hermes_cli.model_catalog import DEFAULT_TTL_MINUTES+ """Same TTL as the catalog manifest this list is filtered from (honours ``model_catalog.ttl_minutes``)."""+ from hermes_cli.model_catalog import refresh_interval_seconds- return DEFAULT_TTL_MINUTES * 60.0+ return refresh_interval_seconds()def _openrouter_catalog_disk_path() -> Path: