unify model selection

This commit is contained in:
weishu
2026-03-16 18:29:09 +08:00
parent 1f02bb7de1
commit 02c8e12e80
27 changed files with 454 additions and 41 deletions
+2 -1
View File
@@ -38,7 +38,8 @@ export async function runCursor(opts: {
flavor: 'cursor',
startedBy,
workingDirectory,
agentState: state
agentState: state,
model: opts.model
});
const startingMode: 'local' | 'remote' = startedBy === 'runner' ? 'remote' : 'local';