Allocate Custom • Rust AI Agent SDK
allocate_custom: Allocate with custom ratios
allocate_custom
Method
</div>
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,
) -> BudgetAllocationParameters
ParamField
f64No description available.
ParamField
f64No description available.
ParamField
f64No description available.
Returns
ResponseField
BudgetAllocationThe result of the operation.