MCPcopy Create free account
hub / github.com/53AI/53AIHub / initRuntimeMode

Function initRuntimeMode

api/service/runtime_init_local.go:12–18  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

10)
11
12func initRuntimeMode(ctx context.Context) {
13 _ = ctx
14 logger.SysLogf("初始化系统数据...")
15 if err := model.InitializeSystem(); err != nil {
16 logger.FatalLog("Failed to initialize system: " + err.Error())
17 }
18}

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected