MCPcopy Create free account
hub / github.com/Writesonic/GPTRouter / initData

Function initData

src/scripts/index.ts:11–14  ·  view source on GitHub ↗
(orm: DataSource)

Source from the content-addressed store, hash-verified

9 * @returns {Promise<void>} - A Promise that resolves once the data initialization is complete.
10 */
11export default async function initData(orm: DataSource) {
12 await initProviders(orm);
13 await initModels(orm);
14}

Callers 1

buildServerFunction · 0.85

Calls 2

initProvidersFunction · 0.85
initModelsFunction · 0.85

Tested by

no test coverage detected