Start Session • Rust AI Agent SDK
start_session: Start a new thinking session. # Arguments * `budget_tokens` – Token budget for this session * `budget_time` – Optional time budget * `complexity` -…
start_session
Method
</div>
This is a method of the ThinkingTracker class in the thinking module.
Start a new thinking session. # Arguments budget_tokens – Token budget for this session budget_time – Optional time budget * complexity – Task complexity (0.0 to 1.0) # Returns Index of the new session
Signature
def start_session(
&mut self,
budget_tokens: usize,
budget_time: Option<f64>,
complexity: f64,
) -> usizeParameters
ParamField
usizeNo description available.
ParamField
Option<f64>No description available.
ParamField
f64No description available.
Returns
ResponseField
usizeThe result of the operation.