Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
47
function
resetLoadedState(): void {
48
cachedTokenizer = null;
49
cachedModel = null;
50
initPromise = null;
51
}
52
53
async
function
ensureModelLoaded(): Promise<void> {
54
if
(cachedModel && cachedTokenizer)
return
;
Callers
1
ensureModelLoaded
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected