fix: SearXNG 引擎优先级调整 — Bing 置顶,百度垫底

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
AskaEthandClaude Opus 4.7 committed 2026-05-26 20:40:34 +08:00
1 parent b14d267642
commit dffaf7e123
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -97,7 +97,7 @@ func (t *WebSearchTool) Execute(ctx context.Context, arguments map[string]interf
}
func (t *WebSearchTool) searchViaSearXNG(ctx context.Context, query string) (*ToolResult, error) {
apiURL := fmt.Sprintf("%s/search?format=json&engines=baidu,sogou,360search,bing&q=%s",
apiURL := fmt.Sprintf("%s/search?format=json&engines=bing,sogou,360search,baidu&q=%s",
t.searxngURL, url.QueryEscape(query))
req, err := http.NewRequestWithContext(ctx, "GET", apiURL, nil)