Skip to content

Commit e443a6a

Browse files
GuangYiDingclaude
andcommitted
fix: 移除 staticcheck S1005 警告的多余 blank identifier
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 963494e commit e443a6a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/internal/pkg/apicompat/anthropic_to_responses.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ func normalizeToolParameters(schema json.RawMessage) json.RawMessage {
431431
return schema
432432
}
433433

434-
typ, _ := m["type"]
434+
typ := m["type"]
435435
if string(typ) != `"object"` {
436436
return schema
437437
}

0 commit comments

Comments
 (0)