new • Rust AI Agent SDK

new: Create a new collector

new

Method

</div>

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

Create a new collector

Signature

python
def new() -> Self

Returns

ResponseField Self

The result of the operation.