requestLLMOnlyCallingTools

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

Sends a request to the language model that is allowed to only perform tool calls without generating a regular text response.

Return

the response containing tool calls from the language model

Parameters

executorService

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