NousResearch/hermes-agent · error · PluginLlmTrustError

Plugin {policy.plugin_id!r} model override {requested_model!

Error message

Plugin {policy.plugin_id!r} model override {requested_model!r} is not in plugins.entries.{policy.plugin_id}.llm.allowed_models.

What it means

Error "Plugin {policy.plugin_id!r} model override {requested_model!r} is not in plugins.entries.{policy.plugin_id}.llm.allowed_models." thrown in NousResearch/hermes-agent.

Source

Thrown at agent/plugin_llm.py:321

                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:
        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 "

View on GitHub (pinned to c896c09c42)

Solutions

  1. Add the model to plugins.entries.<plugin>.llm.allowed_models in config.yaml.
  2. Use a model already in the plugin's allowed_models list.

When it happens

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