chore: make each package its own go module #1
Annotations
10 errors and 1 warning
|
providers/openai/openai.go#L1109
`if ok` has complex nested blocks (complexity: 6) (nestif)
|
|
providers/openai/openai.go#L694
`if err == nil || errors.Is(err, io.EOF)` has complex nested blocks (complexity: 11) (nestif)
|
|
providers/openai/openai.go#L572
`if ok` has complex nested blocks (complexity: 25) (nestif)
|
|
providers/openai/openai.go#L516
`if chunk.Usage.TotalTokens > 0` has complex nested blocks (complexity: 5) (nestif)
|
|
providers/openai/openai.go#L254
`if isReasoningModel(o.modelID)` has complex nested blocks (complexity: 10) (nestif)
|
|
providers/openai/openai.go#L427
string `url_citation` has 4 occurrences, make it a constant (goconst)
|
|
providers/openai/openai.go#L1069
missing cases in switch of type ai.ToolResultContentType: ai.ToolResultContentTypeMedia (exhaustive)
|
|
providers/openai/openai.go#L1012
missing cases in switch of type ai.ContentType: ai.ContentTypeReasoning, ai.ContentTypeFile, ai.ContentTypeSource, ai.ContentTypeToolResult (exhaustive)
|
|
providers/openai/openai.go#L889
missing cases in switch of type ai.ContentType: ai.ContentTypeReasoning, ai.ContentTypeSource, ai.ContentTypeToolCall, ai.ContentTypeToolResult (exhaustive)
|
|
providers/openai/openai.go#L811
missing cases in switch of type ai.ToolChoice: ai.ToolChoiceRequired (exhaustive)
|
|
|
The logs for this run have expired and are no longer available.
Loading