NousResearch/hermes-agent · error · PluginLlmTrustError

Plugin {policy.plugin_id!r} cannot run completions against a

Error message

Plugin {policy.plugin_id!r} cannot run completions against a non-default agent id (set plugins.entries.{policy.plugin_id}.llm.allow_agent_id_override to true to allow).

What it means

Error "Plugin {policy.plugin_id!r} cannot run completions against a non-default agent id (set plugins.entries.{policy.plugin_id}.llm.allow_agent_id_override to true to allow)." thrown in NousResearch/hermes-agent.

Source

Thrown at agent/plugin_llm.py:329

                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:
        raise PluginLlmTrustError(
            f"Plugin {policy.plugin_id!r} cannot run completions against a "
            f"non-default agent id (set plugins.entries.{policy.plugin_id}."
            f"llm.allow_agent_id_override to true to allow)."
        )

    if requested_profile:
        if not policy.allow_profile_override:
            raise PluginLlmTrustError(
                f"Plugin {policy.plugin_id!r} cannot override the auth profile "
                f"(set plugins.entries.{policy.plugin_id}.llm.allow_profile_override "
                f"to true to allow)."
            )
        final_profile = requested_profile.strip()

    return final_provider, final_model, requested_agent_id, final_profile


def _resolve_task_ownership(plugin_id: str) -> tuple[frozenset, frozenset]:

View on GitHub (pinned to c896c09c42)

Solutions

  1. Set plugins.entries.<plugin>.llm.allow_agent_id_override to true to permit a non-default agent id.
  2. Run the completion against the default agent id.

When it happens

Trigger: Thrown at agent/plugin_llm.py:329 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/ff0d96708cdcad19. Report an issue: GitHub.