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

Function getModelCatalog

apps/desktop/main/ai/llm/index.ts:54–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52
53/** 获取完整 model catalog(内置 + 自定义) */
54export function getModelCatalog(): ModelDefinition[] {
55 return [...BUILTIN_MODELS, ...loadCustomModels()]
56}
57
58/** 获取指定 provider 下的全部模型(内置 + 自定义) */
59export function getModelsByProvider(providerId: string): ModelDefinition[] {

Callers

nothing calls this directly

Calls 1

loadCustomModelsFunction · 0.90

Tested by

no test coverage detected