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 bd5b92a commit 629c0b5Copy full SHA for 629c0b5
core/src/providers/anthropic.rs
@@ -1793,7 +1793,7 @@ impl LLM for AnthropicLLM {
1793
},
1794
};
1795
1796
- let thinking_type = match &extras {
+ let thinking = match &extras {
1797
None => None,
1798
Some(v) => match v.get("anthropic_beta_thinking") {
1799
Some(Value::Object(s)) => match (s.get("type"), s.get("budget_tokens")) {
@@ -1842,7 +1842,7 @@ impl LLM for AnthropicLLM {
1842
1843
&beta_flags,
1844
es,
1845
- thinking_type,
+ thinking,
1846
)
1847
.await?
1848
}
0 commit comments