Skip to content

Commit 6186ab6

Browse files
rename var
1 parent 88c5bd9 commit 6186ab6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

llms/anthropic/anthropic.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,8 @@ func (p *Anthropic) adaptRequest(_ internal.Adapter, requester llmberjack.Reques
318318
} else if opts.BudgetTokens != nil && *opts.BudgetTokens > 0 {
319319
params.Thinking = anthropic.ThinkingConfigParamOfEnabled(int64(*opts.BudgetTokens))
320320
} else if r.Thinking != nil && *r.Thinking {
321-
adaptative := anthropic.ThinkingConfigAdaptiveParam{Display: "summarized", Type: "adaptive"}
322-
params.Thinking = anthropic.ThinkingConfigParamUnion{OfAdaptive: &adaptative}
321+
adaptive := anthropic.ThinkingConfigAdaptiveParam{Display: "summarized", Type: "adaptive"}
322+
params.Thinking = anthropic.ThinkingConfigParamUnion{OfAdaptive: &adaptive}
323323
}
324324

325325
return params, nil

0 commit comments

Comments
 (0)