ThinkingBudget
Defined in the thinking module.Rust AI Agent SDK Budget constraints for extended thinking. Controls how much thinking/reasoning the LLM can do before producing a response.
Fields
Methods
new
from_level
minimal
low
medium
high
maximum
get_tokens_for_complexity
complexity - Complexity score (0.0 to 1.0) # Returns Adjusted token budget
Parameters:
to_map
Source
View on GitHub
praisonai/src/thinking/mod.rs at line 80
