MCPcopy
hub / github.com/ericc-ch/copilot-api / cacheModels

Function cacheModels

src/lib/utils.ts:16–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 value === null || value === undefined
15
16export async function cacheModels(): Promise<void> {
17 const models = await getModels()
18 state.models = models
19}
20
21export const cacheVSCodeVersion = async () => {
22 const response = await getVSCodeVersion()

Callers 2

runServerFunction · 0.90
route.tsFile · 0.90

Calls 1

getModelsFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…