executeMultipleChoices

abstract suspend override fun executeMultipleChoices(prompt: Prompt, resolvedModel: ResolvedModel, tools: List<ToolDescriptor>): LLMChoice(source)

Returns multiple independent choices from an already-resolved resolvedModel.

This is the actual extension point for subclasses; the LLModel overload of executeMultipleChoices is finalized and routes here after calling resolveModel.


suspend override fun executeMultipleChoices(prompt: Prompt, model: LLModel, tools: List<ToolDescriptor>): LLMChoice(source)

Finalized to enforce that every call resolves through resolveModel before dispatch. Subclasses customize behavior by overriding the ResolvedModel-based executeMultipleChoices overload.