diff --git a/src/gateway/server-plugins.test.ts b/src/gateway/server-plugins.test.ts index cf937264554..70cfb669f86 100644 --- a/src/gateway/server-plugins.test.ts +++ b/src/gateway/server-plugins.test.ts @@ -968,7 +968,7 @@ describe("loadGatewayPlugins", () => { }), ), ).rejects.toThrow( - 'plugin "voice-call" is not trusted for fallback provider/model override requests. See https://docs.openclaw.ai/tools/plugin#runtime-helpers and search for: plugins.entries..subagent.allowModelOverride', + 'plugin "voice-call" is not trusted for fallback provider/model override requests. See https://docs.openclaw.ai/gateway/configuration-reference#plugins and search for: plugins.entries..subagent.allowModelOverride', ); }); diff --git a/src/gateway/server-plugins.ts b/src/gateway/server-plugins.ts index 7be0f442521..7bbe3f7208a 100644 --- a/src/gateway/server-plugins.ts +++ b/src/gateway/server-plugins.ts @@ -188,7 +188,7 @@ function authorizeFallbackModelOverride(params: { allowed: false, reason: `plugin "${pluginId}" is not trusted for fallback provider/model override requests. ` + - "See https://docs.openclaw.ai/tools/plugin#runtime-helpers and search for: " + + "See https://docs.openclaw.ai/gateway/configuration-reference#plugins and search for: " + "plugins.entries..subagent.allowModelOverride", }; }