fix: 移除 staticcheck S1005 警告的多余 blank identifier

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Rose Ding
2026-03-19 21:14:29 +08:00
parent 963494ec6f
commit e443a6a1ea

View File

@@ -431,7 +431,7 @@ func normalizeToolParameters(schema json.RawMessage) json.RawMessage {
return schema
}
typ, _ := m["type"]
typ := m["type"]
if string(typ) != `"object"` {
return schema
}