Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
e443a6a1
Commit
e443a6a1
authored
Mar 19, 2026
by
Rose Ding
Browse files
fix: 移除 staticcheck S1005 警告的多余 blank identifier
Co-Authored-By:
Claude Opus 4.6
<
noreply@anthropic.com
>
parent
963494ec
Changes
1
Show whitespace changes
Inline
Side-by-side
backend/internal/pkg/apicompat/anthropic_to_responses.go
View file @
e443a6a1
...
...
@@ -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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment