execute

open suspend override fun execute(prompt: Prompt, model: LLModel, tools: List<ToolDescriptor>): List<Message.Response>(source)

Executes a prompt with tools and returns a list of responses.

Return

A list containing a single response

Parameters

prompt

The prompt to execute

model

The LLM model to use (ignored in mock implementation)

tools

The list of tools available for the execution