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

python
def with_ratios(total: usize, system_pct: f64, history_pct: f64, tools_pct: f64) -> Self

Parameters

ParamField usize

No description available.

ParamField f64

No description available.

ParamField f64

No description available.

ParamField f64

No description available.

Returns

ResponseField Self

The result of the operation.