alwaysReturns
infix fun <Args : Tool.Args> MockLLMBuilder.MockToolReceiver<Args, ToolResult.Text>.alwaysReturns(response: String)(source)
Convenience extension function for configuring a text tool to always return the specified string.
Return
The result of the alwaysReturns call
Parameters
response
The string to return