First Token • Rust AI Agent SDK

first_token: Create a first token event

first_token

Method

</div>

This is a method of the StreamEvent class in the streaming module.

Create a first token event

Signature

python
def first_token(content: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.


Related Documentation