From 77d4716a82c9ae9dea8d07ecf83661db0c246b9c Mon Sep 17 00:00:00 2001 From: BeaconCat <111232138+BeaconCat@users.noreply.github.com> Date: Wed, 25 Mar 2026 15:11:02 +0800 Subject: [PATCH] config: add baidu_search example to config.example.json (#1990) Add Baidu Qianfan AI Search configuration block after glm_search, matching the BaiduSearchConfig struct defaults (enabled: false, max_results: 10). Co-authored-by: BeaconCat Co-authored-by: Claude Opus 4.6 --- config/config.example.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/config.example.json b/config/config.example.json index 90b603d72..5826ea25a 100644 --- a/config/config.example.json +++ b/config/config.example.json @@ -286,6 +286,12 @@ "search_engine": "search_std", "max_results": 5 }, + "baidu_search": { + "enabled": false, + "api_key": "", + "base_url": "https://qianfan.baidubce.com/v2/ai_search/web_search", + "max_results": 10 + }, "fetch_limit_bytes": 10485760, "private_host_whitelist": [] },