With Response • Rust AI Agent SDK

with_response: Create with a single response

with_response

Method

</div>

This is a method of the MockLlmProvider class in the llm module.

Create with a single response

Signature

python
def with_response(response: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.