With History • Rust AI Agent SDK

with_history: Create with custom history size

with_history

Method

</div>

This is a method of the EventBus class in the bus module.

Create with custom history size

Signature

python
def with_history(max_history: usize) -> Self

Parameters

ParamField usize

No description available.

Returns

ResponseField Self

The result of the operation.