MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cachedInBrowser

Function cachedInBrowser

graph-ui/src/browser-ai/BrowserChatDock.tsx:72–72  ·  view source on GitHub ↗
(modelId: string)

Source from the content-addressed store, hash-verified

70const EXPLANATION_CACHE_SIZE = 32;
71const initialModel = BROWSER_MODELS.find(model => model.availability === 'available')!;
72const cachedInBrowser = (modelId: string) => isBrowserModelCached(getBrowserModel(modelId)).catch(() => false);
73const messageOf = (error: unknown): string => error instanceof Error ? error.message : String(error);
74/** The names a Galaxy selection goes by: its label and its symbols with their qualified names. */
75const galaxyNames = (galaxy: GalaxyEvidence): string[] => [galaxy.label, ...galaxy.roots.flatMap(root => [root.name, root.qualifiedName ?? ''])].filter(Boolean);

Callers

nothing calls this directly

Calls 2

isBrowserModelCachedFunction · 0.90
getBrowserModelFunction · 0.90

Tested by

no test coverage detected