list

fun LLModelDefinitions.list(customModels: List<LLModel> = emptyList()): List<LLModel>(source)

Retrieves a list of all LLModel instances defined within the current LLModelDefinitions.

The method scans for all publicly visible properties of the LLModelDefinitions instance, identifies those which return an LLModel, and compiles them into a list. This allows easy access to all available model definitions in a given context.

Return

A list of LLModel instances representing all models defined in this LLModelDefinitions.

Parameters

customModels

A list of additional LLModel instances to include in the list.