Skip to main content

start_session

Method
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,
    ) -> usize

Parameters

budget_tokens
usize
required
No description available.
budget_time
Option<f64>
required
No description available.
complexity
f64
required
No description available.

Returns

Returns
usize
The result of the operation.