NousResearch/hermes-agent · error · PluginLlmTrustError
Plugin {policy.plugin_id!r} cannot override the model (set p
Error message
Plugin {policy.plugin_id!r} cannot override the model (set plugins.entries.{policy.plugin_id}.llm.allow_model_override to true to allow). What it means
Error "Plugin {policy.plugin_id!r} cannot override the model (set plugins.entries.{policy.plugin_id}.llm.allow_model_override to true to allow)." thrown in NousResearch/hermes-agent.
Source
Thrown at agent/plugin_llm.py:310
f"(set plugins.entries.{policy.plugin_id}.llm.allow_provider_override "
f"to true to allow)."
)
normalized = _normalize_ref(requested_provider)
if (
not policy.allow_any_provider
and policy.allowed_providers is not None
and normalized not in policy.allowed_providers
):
raise PluginLlmTrustError(
f"Plugin {policy.plugin_id!r} provider override "
f"{requested_provider!r} is not in plugins.entries."
f"{policy.plugin_id}.llm.allowed_providers."
)
final_provider = requested_provider.strip()
if requested_model:
if not policy.allow_model_override:
raise PluginLlmTrustError(
f"Plugin {policy.plugin_id!r} cannot override the model "
f"(set plugins.entries.{policy.plugin_id}.llm.allow_model_override "
f"to true to allow)."
)
normalized = _normalize_ref(requested_model)
if (
not policy.allow_any_model
and policy.allowed_models is not None
and normalized not in policy.allowed_models
):
raise PluginLlmTrustError(
f"Plugin {policy.plugin_id!r} model override "
f"{requested_model!r} is not in plugins.entries."
f"{policy.plugin_id}.llm.allowed_models."
)
final_model = requested_model.strip()
if requested_agent_id and not policy.allow_agent_id_override:View on GitHub (pinned to c896c09c42)
Solutions
- Set plugins.entries.<plugin>.llm.allow_model_override to true in config.yaml.
- Remove the model override from the plugin's completion request.
When it happens
Trigger: Thrown at agent/plugin_llm.py:310 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of NousResearch/hermes-agent@c896c09c42 (2026-08-14).
Data as JSON: /api/errors/8786625e3800ede0.
Report an issue: GitHub.