chore: make each package its own go module #1
Annotations
10 errors and 1 warning
|
providers/anthropic/anthropic.go#L1
package-comments: should have a package comment (revive)
|
|
providers/anthropic/anthropic.go#L424
`if msg.Role == ai.MessageRoleUser` has complex nested blocks (complexity: 13) (nestif)
|
|
providers/anthropic/anthropic.go#L309
`if tool.GetType() == ai.ToolTypeFunction` has complex nested blocks (complexity: 6) (nestif)
|
|
providers/anthropic/anthropic.go#L221
`if ok` has complex nested blocks (complexity: 12) (nestif)
|
|
providers/anthropic/anthropic.go#L671
string `thinking` has 3 occurrences, make it a constant (goconst)
|
|
providers/anthropic/anthropic.go#L663
string `text` has 3 occurrences, make it a constant (goconst)
|
|
providers/anthropic/anthropic.go#L642
string `tool_use` has 4 occurrences, make it a constant (goconst)
|
|
providers/anthropic/anthropic.go#L534
missing cases in switch of type ai.ContentType: ai.ContentTypeFile, ai.ContentTypeSource (exhaustive)
|
|
providers/anthropic/anthropic.go#L431
missing cases in switch of type ai.ContentType: ai.ContentTypeReasoning, ai.ContentTypeSource, ai.ContentTypeToolCall, ai.ContentTypeToolResult (exhaustive)
|
|
providers/anthropic/anthropic.go#L396
missing cases in switch of type ai.MessageRole: ai.MessageRoleTool (exhaustive)
|
|
|
The logs for this run have expired and are no longer available.
Loading