{"record":{"id":"8786625e3800ede0","repo":"NousResearch/hermes-agent","slug":"plugin-policy-plugin-id-r-cannot-override-the-mo","errorCode":null,"errorMessage":"Plugin {policy.plugin_id!r} cannot override the model (set plugins.entries.{policy.plugin_id}.llm.allow_model_override to true to allow).","messagePattern":"Plugin (.+?) cannot override the model \\(set plugins\\.entries\\.(.+?)\\.llm\\.allow_model_override to true to allow\\)\\.","errorType":"validation","errorClass":"PluginLlmTrustError","httpStatus":null,"severity":"error","filePath":"agent/plugin_llm.py","lineNumber":310,"sourceCode":"                f\"(set plugins.entries.{policy.plugin_id}.llm.allow_provider_override \"\n                f\"to true to allow).\"\n            )\n        normalized = _normalize_ref(requested_provider)\n        if (\n            not policy.allow_any_provider\n            and policy.allowed_providers is not None\n            and normalized not in policy.allowed_providers\n        ):\n            raise PluginLlmTrustError(\n                f\"Plugin {policy.plugin_id!r} provider override \"\n                f\"{requested_provider!r} is not in plugins.entries.\"\n                f\"{policy.plugin_id}.llm.allowed_providers.\"\n            )\n        final_provider = requested_provider.strip()\n\n    if requested_model:\n        if not policy.allow_model_override:\n            raise PluginLlmTrustError(\n                f\"Plugin {policy.plugin_id!r} cannot override the model \"\n                f\"(set plugins.entries.{policy.plugin_id}.llm.allow_model_override \"\n                f\"to true to allow).\"\n            )\n        normalized = _normalize_ref(requested_model)\n        if (\n            not policy.allow_any_model\n            and policy.allowed_models is not None\n            and normalized not in policy.allowed_models\n        ):\n            raise PluginLlmTrustError(\n                f\"Plugin {policy.plugin_id!r} model override \"\n                f\"{requested_model!r} is not in plugins.entries.\"\n                f\"{policy.plugin_id}.llm.allowed_models.\"\n            )\n        final_model = requested_model.strip()\n\n    if requested_agent_id and not policy.allow_agent_id_override:","sourceCodeStart":292,"sourceCodeEnd":328,"githubUrl":"https://github.com/NousResearch/hermes-agent/blob/c896c09c42910c584c4c7d2325b58c14713ea42c/agent/plugin_llm.py#L292-L328","documentation":"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.","triggerScenarios":"Thrown at agent/plugin_llm.py:310 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Set plugins.entries.<plugin>.llm.allow_model_override to true in config.yaml.","Remove the model override from the plugin's completion request."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"c896c09c42910c584c4c7d2325b58c14713ea42c","analyzedAt":"2026-08-14T17:18:01.089Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}