alwaysTells
infix fun <Args> MockLLMBuilder.MockToolReceiver<Args, String>.alwaysTells(action: suspend () -> String)(source)
infix fun <Args> MockLLMBuilder.MockToolReceiver<Args, ToolResult.Text>.alwaysTells(action: suspend () -> String)(source)
Convenience extension function for configuring a text tool to always execute the specified action and return its string result.
Return
The result of the alwaysDoes call
Parameters
action
A function that produces the string result