We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64ebfc0 commit 7b8713eCopy full SHA for 7b8713e
autofix/claude.go
@@ -39,7 +39,7 @@ func NewClaudeClient(model, apiKey string) (GenAIClient, error) {
39
40
func (c *claudeWrapper) GenerateSolution(ctx context.Context, prompt string) (string, error) {
41
resp, err := c.client.Messages.New(ctx, anthropic.MessageNewParams{
42
- Model: anthropic.Model(c.model),
+ Model: c.model,
43
MaxTokens: 1024,
44
Messages: []anthropic.MessageParam{
45
anthropic.NewUserMessage(anthropic.NewTextBlock(prompt)),
0 commit comments