mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-11-06 05:17:15 +00:00
Every CLI start imports all provider plugins (hermes_cli.config lists their env vars), and fireworks/gmi/xai/router/kimi/opencode plus auth_constants, models, model_catalog, auxiliary_client, gemini_native_adapter, web_server_messaging, slack, yuanbao and perplexity built a `<product>/<release>` string at module level. In a source checkout the release comes from the 7-call git provenance walk (`git tag --merged HEAD` alone is ~0.35 s in a large clone), so `hermes sessions list` paid it for headers it never sends. Provider profiles take a LazyHeaders mapping (resolved on first read by the client builders, which already copy with dict()); core modules call version_info.hermes_user_agent() where the request is built. Header values are unchanged.