Skip to content

Commit 7b8713e

Browse files
MatteoCalabro-TomTomccojocar
authored andcommitted
fix(autofix): unnecessary conversion
1 parent 64ebfc0 commit 7b8713e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autofix/claude.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func NewClaudeClient(model, apiKey string) (GenAIClient, error) {
3939

4040
func (c *claudeWrapper) GenerateSolution(ctx context.Context, prompt string) (string, error) {
4141
resp, err := c.client.Messages.New(ctx, anthropic.MessageNewParams{
42-
Model: anthropic.Model(c.model),
42+
Model: c.model,
4343
MaxTokens: 1024,
4444
Messages: []anthropic.MessageParam{
4545
anthropic.NewUserMessage(anthropic.NewTextBlock(prompt)),

0 commit comments

Comments
 (0)