With Dir • Rust AI Agent SDK

with_dir: Create with custom directory

with_dir

Method

</div>

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

Create with custom directory

Signature

python
def with_dir(dir: impl Into<PathBuf>) -> Self

Parameters

ParamField impl Into&lt;PathBuf&gt;

No description available.

Returns

ResponseField Self

The result of the operation.