The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
docs: provider_routing is OpenRouter-only; Nous Portal rejects the provider object
Teknium0a195aa46364
diff --git a/website/docs/user-guide/features/provider-routing.md b/website/docs/user-guide/features/provider-routing.mdindex 79e58f7b348..3cd2c5c75c9 100644--- a/website/docs/user-guide/features/provider-routing.md+++ b/website/docs/user-guide/features/provider-routing.md@@ -1,18 +1,18 @@---title: Provider Routing-description: Configure OpenRouter or Nous Portal provider preferences to optimize for cost, speed, or quality.+description: Configure OpenRouter provider preferences to optimize for cost, speed, or quality.sidebar_label: Provider Routingsidebar_position: 7---# Provider Routing-When using [OpenRouter](https://openrouter.ai) or [Nous Portal](/integrations/nous-portal) as your LLM provider, Hermes Agent supports **provider routing** — fine-grained control over which underlying AI providers handle your requests and how they're prioritized.+When using [OpenRouter](https://openrouter.ai) as your LLM provider, Hermes Agent supports **provider routing** — fine-grained control over which underlying AI providers handle your requests and how they're prioritized.OpenRouter routes requests to many providers (e.g., Anthropic, Google, AWS Bedrock, Together AI). Provider routing lets you optimize for cost, speed, quality, or enforce specific provider requirements.-:::tip-Traffic routed through Nous Portal respects the same provider preferences — and Portal subscribers get 10% off token-billed providers.+:::note+[Nous Portal](/integrations/nous-portal) decides routing centrally per model and does not accept caller-supplied provider preferences; Hermes never sends the `provider` object to Portal, so `provider_routing` is simply ignored there.:::## Configuration@@ -30,7 +30,7 @@ provider_routing:```:::info-Provider routing only applies when using OpenRouter or Nous Portal. It has no effect with direct provider connections (e.g., connecting directly to the Anthropic API).+Provider routing only applies when using OpenRouter. It has no effect on Nous Portal or direct provider connections (e.g., connecting directly to the Anthropic API).:::## Options@@ -192,7 +192,7 @@ provider_routing:## How It Works-Provider routing preferences are passed to OpenRouter or Nous Portal on agent chat requests and iteration-limit summaries via the `extra_body.provider` field. (`extra_body` is the OpenAI Python SDK argument; it becomes the top-level `provider` object in the JSON request.) Auxiliary tasks such as compression and title generation are configured independently under `auxiliary.<task>.extra_body`.+Provider routing preferences are passed to OpenRouter on agent chat requests and iteration-limit summaries via the `extra_body.provider` field. (`extra_body` is the OpenAI Python SDK argument; it becomes the top-level `provider` object in the JSON request.) Auxiliary tasks such as compression and title generation are configured independently under `auxiliary.<task>.extra_body`.- **CLI mode** — configured in `~/.hermes/config.yaml`, loaded at startup- **Gateway mode** — same config file, loaded when the gateway starts@@ -225,5 +225,5 @@ provider_routing:When no `provider_routing` section is configured (the default), the aggregator uses its own default routing logic, which generally balances cost and availability automatically.:::tip Provider Routing vs. Fallback Models-Provider routing controls which **sub-providers behind OpenRouter or Nous Portal** handle your requests. For automatic failover to an entirely different provider when your primary model fails, see [Fallback Providers](/user-guide/features/fallback-providers).+Provider routing controls which **sub-providers behind OpenRouter** handle your requests. For automatic failover to an entirely different provider when your primary model fails, see [Fallback Providers](/user-guide/features/fallback-providers).:::