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

Method getAll

packages/node-runtime/src/ai/custom-store.ts:70–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68 constructor(private storage: ConfigStorage) {}
69
70 getAll(): ModelDefinition[] {
71 return this.storage.readJson<ModelDefinition[]>('custom-models') ?? []
72 }
73
74 add(input: {
75 id: string

Callers 3

addMethod · 0.95
updateMethod · 0.95
deleteMethod · 0.95

Calls 1

readJsonMethod · 0.80

Tested by

no test coverage detected