ThinkingBudgetBuilder
Defined in the thinking module.Rust AI Agent SDK Builder for ThinkingBudget.
Fields
| Name | Type | Description |
|---|---|---|
max_tokens | Option<usize> | - |
max_time_seconds | Option<f64> | - |
adaptive | Option<bool> | - |
level | Option<BudgetLevel> | - |
min_tokens | Option<usize> | - |
complexity_multiplier | Option<f64> | - |
Methods
max_tokens
| Name | Type |
|---|---|
tokens | usize |
max_time_seconds
| Name | Type |
|---|---|
seconds | f64 |
adaptive
| Name | Type |
|---|---|
adaptive | bool |
level
| Name | Type |
|---|---|
level | BudgetLevel |
min_tokens
| Name | Type |
|---|---|
tokens | usize |
complexity_multiplier
| Name | Type |
|---|---|
multiplier | f64 |
build
Source
View on GitHub
praisonai/src/thinking/mod.rs at line 182
