Add Response • Rust AI Agent SDK

add_response: Add a response to return (FIFO queue)

add_response

Method

</div>

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

Add a response to return (FIFO queue)

Signature

python
def add_response(&self, response: impl Into<String>) -> ()

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField ()

The result of the operation.