MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / getCachedModels

Function getCachedModels

out/cli.cjs:86435–86441  ·  view source on GitHub ↗
(provider)

Source from the content-addressed store, hash-verified

86433 if (!cache) {
86434 return { timestamp: null, providers: [] };
86435 }
86436 return {
86437 timestamp: cache.timestamp,
86438 providers: Object.keys(cache.models || {})
86439 };
86440}
86441function getCachedModels(provider) {
86442 const cache = readCache();
86443 if (!cache || !cache.models[provider]) {
86444 return null;

Callers 1

listModelsFunction · 0.70

Calls 1

readCacheFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…