Skip to main content

allocate_custom

Method
This is a method of the ContextBudgeter class in the context module.
Allocate with custom ratios

Signature

def allocate_custom(
        &self,
        system_pct: f64,
        history_pct: f64,
        tools_pct: f64,
    ) -> BudgetAllocation

Parameters

system_pct
f64
required
No description available.
history_pct
f64
required
No description available.
tools_pct
f64
required
No description available.

Returns

Returns
BudgetAllocation
The result of the operation.