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

Function enableAndBuild

packages/node-runtime/src/semantic-index/service.test.ts:109–113  ·  view source on GitHub ↗
(service: SemanticIndexService)

Source from the content-addressed store, hash-verified

107}
108
109async function enableAndBuild(service: SemanticIndexService): Promise<void> {
110 service.enable(SESSION_ID)
111 service.build(SESSION_ID)
112 await service.whenIdle()
113}
114
115async function waitForModelStatus(
116 service: SemanticIndexService,

Callers 1

service.test.tsFile · 0.85

Calls 3

enableMethod · 0.65
buildMethod · 0.65
whenIdleMethod · 0.45

Tested by

no test coverage detected