Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
add
Method · 0.95
update
Method · 0.95
delete
Method · 0.95
Calls
1
readJson
Method · 0.80
Tested by
no test coverage detected