Commit e443a6a1 authored by Rose Ding's avatar Rose Ding
Browse files

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


Co-Authored-By: default avatarClaude Opus 4.6 <noreply@anthropic.com>
parent 963494ec
...@@ -431,7 +431,7 @@ func normalizeToolParameters(schema json.RawMessage) json.RawMessage { ...@@ -431,7 +431,7 @@ func normalizeToolParameters(schema json.RawMessage) json.RawMessage {
return schema return schema
} }
typ, _ := m["type"] typ := m["type"]
if string(typ) != `"object"` { if string(typ) != `"object"` {
return schema return schema
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment