new • Rust AI Agent SDK

new: Create a new session with default file store

new

Method

</div>

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

Create a new session with default file store

Signature

python
def new(session_id: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.