With Store • Rust AI Agent SDK

with_store: Create with custom store

with_store

Method

</div>

This is a method of the Session class in the session module.

Create with custom store

Signature

python
def with_store(session_id: impl Into<String>, store: Arc<dyn SessionStore>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

ParamField Arc&lt;dyn SessionStore&gt;

No description available.

Returns

ResponseField Self

The result of the operation.