diff --git a/src/config/plugin-auto-enable.shared.ts b/src/config/plugin-auto-enable.shared.ts index 257273d3daa..bb6c125e9bf 100644 --- a/src/config/plugin-auto-enable.shared.ts +++ b/src/config/plugin-auto-enable.shared.ts @@ -648,7 +648,7 @@ export function resolveConfiguredPluginAutoEnableCandidates(params: { const webSearchConfig = params.config.tools?.web?.search; const webSearchProvider = webSearchConfig?.enabled !== false && typeof webSearchConfig?.provider === "string" - ? params.config.tools.web.search.provider + ? webSearchConfig.provider : undefined; const webSearchPluginId = resolvePluginIdForConfiguredWebSearchProvider( webSearchProvider,