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

Function pickModel

graph-ui/tools/smoke-w10.mjs:1878–1887  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

1876 const askedWith = [];
1877
1878 const pickModel = async (id) => {
1879 await openSettingsByMenu(page);
1880 await page.click(`button[data-testid="atlas-settings-model-pick"][data-model="${id}"]`);
1881 await page.waitForFunction(
1882 (wanted) => globalThis.__atlasSettings?.selectedModel === wanted,
1883 id,
1884 { timeout: 30000 },
1885 );
1886 await page.waitForTimeout(2500);
1887 };
1888
1889 for (const id of [modelIdB, modelIdA]) {
1890 await pickModel(id);

Callers 1

mainFunction · 0.85

Calls 1

openSettingsByMenuFunction · 0.85

Tested by

no test coverage detected