From b4e1181d1e1a110eeeb3a20dcef499a4ca4389c5 Mon Sep 17 00:00:00 2001 From: Rhonin Wang <33801807+RhoninSeiei@users.noreply.github.com> Date: Wed, 6 May 2026 08:49:11 +0800 Subject: [PATCH] fix(config): hide Baidu web search key when disabled (#7992) * fix(config): hide Baidu web search key when disabled * chore: remove unnecessary test change --------- Co-authored-by: RhoninSeiei Co-authored-by: Rhonin --- astrbot/core/config/default.py | 1 + 1 file changed, 1 insertion(+) diff --git a/astrbot/core/config/default.py b/astrbot/core/config/default.py index d71f2bba5..07f0d2d33 100644 --- a/astrbot/core/config/default.py +++ b/astrbot/core/config/default.py @@ -3243,6 +3243,7 @@ CONFIG_METADATA_3 = { "hint": "参考:https://console.bce.baidu.com/iam/#/iam/apikey/list", "condition": { "provider_settings.websearch_provider": "baidu_ai_search", + "provider_settings.web_search": True, }, }, "provider_settings.web_search_link": {