MCPcopy Create free account
hub / github.com/PatrickSys/codebase-context / resetLoadedState

Function resetLoadedState

src/core/reranker.ts:47–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45}
46
47function resetLoadedState(): void {
48 cachedTokenizer = null;
49 cachedModel = null;
50 initPromise = null;
51}
52
53async function ensureModelLoaded(): Promise<void> {
54 if (cachedModel && cachedTokenizer) return;

Callers 1

ensureModelLoadedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected