executeStreaming

open override fun executeStreaming(prompt: Prompt, model: LLModel, tools: List<ToolDescriptor>): Flow<StreamFrame>(source)

Executes a prompt and returns a flow of string responses.

This implementation simply wraps the result of execute in a flow.

Return

A flow containing a single string 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