requestLLM

fun requestLLM(executorService: ExecutorService? = null): ERROR CLASS: Symbol not found for Message.Response(source)

Sends a request to the language model using the current session configuration and returns a single response.

Return

the response message from the language model

Parameters

executorService

an optional executor service for managing the execution context; if null, the default dispatcher is used