llmRequest
fun llmRequest(allowToolCalls: Boolean = true, name: String? = null): AIAgentNodeBase<String, Message.Response>(source)
Creates an AI agent node for handling language model requests.
Return
An instance of AIAgentNodeBase configured to process language model requests with input of type String and output of type Message.Response.
Parameters
name
The optional name of the node. If null, the name will be automatically generated.
allowToolCalls
Indicates whether the node is allowed to make tool calls during execution. Defaults to true.