fix: 移除 staticcheck S1005 警告的多余 blank identifier
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user