Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Say which Cursor model is in use even when the pin is skipped.
huiyangwu619bec064475
diff --git a/server/drivers/acp/cursor.ts b/server/drivers/acp/cursor.tsindex c8617382a7..e5a52eb8b8 100644--- a/server/drivers/acp/cursor.ts+++ b/server/drivers/acp/cursor.ts@@ -528,9 +528,6 @@ const support = (run: typeof execCli): AcpSupport => ({if (currentModelId !== modelId) {try {await request("session/set_model", { sessionId, modelId });- if (match && !match.exact) {- notice(`Cursor offers ${modelId} rather than ${turn.model} in this session, so this conversation uses ${modelId}.`);- }} catch (e) {const err = e as Error & { code?: unknown };// -32601: no set_model, so the argv pin holds. -32602: not in this namespace; current CLIs@@ -551,6 +548,10 @@ const support = (run: typeof execCli): AcpSupport => ({);}}+ // The sentence is about the model this conversation uses, including a later turn that does not call the setter.+ if (match && !match.exact) {+ notice(`Cursor offers ${modelId} rather than ${turn.model} in this session, so this conversation uses ${modelId}.`);+ }if (fastOption) await setCursorFast(request, sessionId, wantsFast);},