mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-16 01:40:15 +08:00
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:
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user