style(search): 修 zhipu.go 的 gofmt 对齐(改动前即存在的格式债)
CI / Backend (build / vet / test / cross-compile) (push) Has been cancelled
CI / Frontend (tsc + vite build) (push) Has been cancelled

spec 字面量的三行对齐空格多余,gofmt -l 一直报它。零语义变更:
只删多余空格,gofmt -l 现已全干净。
This commit is contained in:
AskaEth committed 2026-10-07 13:42:58 +08:00
1 parent ce9af42945
commit 33ea7a830f
1 file changed
+3 -3
+3 -3
View File
@@ -130,9 +130,9 @@ func zhipuCount(count int) (int, bool) {
// 通过后**再把这些已排除的候选键收窄成单键。
func zhipuSpec() spec {
return spec{
Arrays: []string{"search_result", "results", "data", "data.results", "web_search_result"},
Title: []string{"title", "name"},
Link: []string{"link", "url"},
Arrays: []string{"search_result", "results", "data", "data.results", "web_search_result"},
Title: []string{"title", "name"},
Link: []string{"link", "url"},
// 🔴 **不含 `media`**:它是网站名称、不是正文摘录,且官方响应没有 `snippet`
// ⇒ 列进来会让 Snippet **恒**被站点名填满,并被共享提取器的单向回落当成正文
// 递出去(理由见上方注释;`media`/`icon`/`refer` 当前一律不投影)。