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

Function isSpawnDefaultModel

cli/src/cursor/cursorAcpRemoteLauncher.ts:439–442  ·  view source on GitHub ↗
(modelId: string)

Source from the content-addressed store, hash-verified

437}
438
439function isSpawnDefaultModel(modelId: string): boolean {
440 const normalized = modelId.trim().toLowerCase();
441 return normalized === 'auto' || normalized === 'default' || normalized === 'default[]';
442}
443
444function syncCursorModelsFromAcp(backend: AcpSdkBackend, acpSessionId: string): void {
445 const snapshot = buildCursorModelsSnapshotFromAcp(backend, acpSessionId);

Callers 3

runMainLoopMethod · 0.85
applyLiveModelMethod · 0.85
pushModelStatusLineMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected