agent • Rust AI Agent SDK

agent: Create an agent error

agent

Method

</div>

This is a method of the Error class in the error module.

Create an agent error

Diagram

Input Data

Agent: agent

Output Result

Signature

python
def agent(msg: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.


Related Documentation