With Source • Rust AI Agent SDK

with_source: Set source agent

with_source

Method

</div>

This is a method of the HandoffResult class in the handoff module.

Set source agent

Signature

python
def with_source(mut self, agent: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.