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 <RhoninSeiei@users.noreply.github.com>
Co-authored-by: Rhonin <rhonin@STARFORGE.localdomain>
This commit is contained in:
Rhonin Wang
2026-05-06 08:49:11 +08:00
committed by GitHub
parent 7a519d4d1e
commit b4e1181d1e

View File

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