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
pythondef with_history(max_history: usize) -> Self
Parameters
ParamField usizeNo description available.
Returns
ResponseField SelfThe result of the operation.