With Ratios • Rust AI Agent SDK
with_ratios: Create with custom ratios
with_ratios
Method
</div>
This is a method of the BudgetAllocation class in the context module.
Create with custom ratios
Signature
def with_ratios(total: usize, system_pct: f64, history_pct: f64, tools_pct: f64) -> SelfParameters
ParamField
usizeNo description available.
ParamField
f64No description available.
ParamField
f64No description available.
ParamField
f64No description available.
Returns
ResponseField
SelfThe result of the operation.