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

Function getBrowserModel

graph-ui/src/browser-ai/model-policy.ts:88–92  ·  view source on GitHub ↗
(modelId: string = BROWSER_MODEL.id)

Source from the content-addressed store, hash-verified

86];
87
88export function getBrowserModel(modelId: string = BROWSER_MODEL.id): BrowserModel {
89 const model = BROWSER_MODELS.find(candidate => candidate.id === modelId);
90 if (!model) throw new Error('Unknown browser model. Choose a model from the catalog.');
91 return model;
92}
93
94export function browserModelBaseUrl(model: BrowserModel): string {
95 return `https://huggingface.co/${model.id}/resolve/${model.revision}/`;

Callers 7

createBrowserChatRuntimeFunction · 0.90
prepareFunction · 0.90
cachedInBrowserFunction · 0.90
isPinnedModelRequestFunction · 0.85
removeBrowserModelCacheFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected