MCPcopy
hub / github.com/Doorman11991/smallcode / get

Function get

src/compiled/providers/index.ts:78–81  ·  view source on GitHub ↗
(_, key: string)

Source from the content-addressed store, hash-verified

76
77export const MODELS: Record<string, ModelEntry> = new Proxy({}, {
78 get(_, key: string) {
79 if (!_models) _models = _buildModels();
80 return _models[key];
81 },
82 ownKeys() {
83 if (!_models) _models = _buildModels();
84 return Object.keys(_models);

Callers

nothing calls this directly

Calls 1

_buildModelsFunction · 0.70

Tested by

no test coverage detected