Skip to content

Commit 629c0b5

Browse files
committed
fix var name
1 parent bd5b92a commit 629c0b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/providers/anthropic.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1793,7 +1793,7 @@ impl LLM for AnthropicLLM {
17931793
},
17941794
};
17951795

1796-
let thinking_type = match &extras {
1796+
let thinking = match &extras {
17971797
None => None,
17981798
Some(v) => match v.get("anthropic_beta_thinking") {
17991799
Some(Value::Object(s)) => match (s.get("type"), s.get("budget_tokens")) {
@@ -1842,7 +1842,7 @@ impl LLM for AnthropicLLM {
18421842
},
18431843
&beta_flags,
18441844
es,
1845-
thinking_type,
1845+
thinking,
18461846
)
18471847
.await?
18481848
}

0 commit comments

Comments
 (0)