requestLLMMultiple
suspend fun AIAgentFunctionalContext.requestLLMMultiple(message: String): List<Message.Response>(source)
Sends a message to a Large Language Model (LLM) and gets multiple LLM responses with tool calls enabled. The message becomes part of the current prompt, and multiple responses from the LLM are collected.
Return
A list of LLM responses.
Parameters
message
The content of the message to be sent to the LLM.