fix: 修复 golangci-lint 报告的 36 个问题

This commit is contained in:
shaw
2026-04-23 16:30:43 +08:00
parent 27ffc7f373
commit ef967d8f8a
3 changed files with 6 additions and 911 deletions
@@ -821,7 +821,7 @@ func (s *OpenAIGatewayService) forwardOpenAIImagesOAuth(
var (
usage OpenAIUsage
imageCount = parsed.N
imageCount int
firstTokenMs *int
)
if parsed.Stream {