MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / loadCustomModels

Function loadCustomModels

apps/desktop/main/ai/llm/custom-model-store.ts:38–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38export function loadCustomModels(): ModelDefinition[] {
39 return readStore()
40}
41
42export function addCustomModel(input: Omit<ModelDefinition, 'builtin' | 'editable'>): ModelDefinition {
43 const models = readStore()

Callers 3

getModelCatalogFunction · 0.90
getModelsByProviderFunction · 0.90
findModelDefinitionFunction · 0.90

Calls 1

readStoreFunction · 0.70

Tested by

no test coverage detected