( models: readonly LLMModel[], customModels: string, )
| 165 | * Generate full model table. |
| 166 | */ |
| 167 | export function collectModels( |
| 168 | models: readonly LLMModel[], |
| 169 | customModels: string, |
| 170 | ) { |
| 171 | const modelTable = collectModelTable(models, customModels); |
| 172 | let allModels = Object.values(modelTable); |
| 173 | |
| 174 | allModels = sortModelTable(allModels); |
| 175 | |
| 176 | return allModels; |
| 177 | } |
| 178 | |
| 179 | export function collectModelsWithDefaultModel( |
| 180 | models: readonly LLMModel[], |
nothing calls this directly
no test coverage detected