MCPcopy Create free account
hub / github.com/tiann/hapi / _resetCursorModelsCacheForTests

Function _resetCursorModelsCacheForTests

cli/src/modules/common/cursorModels.ts:328–333  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

326}
327
328export function _resetCursorModelsCacheForTests(): void {
329 cache.expiresAt = 0;
330 cache.response = { success: true, availableModels: [], currentModelId: null };
331 inflight = null;
332 _resetSharedCursorModelsCacheForTests();
333}

Tested by

no test coverage detected