Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Say a silent turn may stop, and only when nothing else runs
quang.tranminheddc9381d26c
diff --git a/server/drivers/acp/quiet-status.test.ts b/server/drivers/acp/quiet-status.test.tsindex aceeda8cf6..c806a98ef8 100644--- a/server/drivers/acp/quiet-status.test.ts+++ b/server/drivers/acp/quiet-status.test.ts@@ -105,13 +105,13 @@ describe("describeQuiet", () => {it("does not blame a rate limit while the request is still open", () => {const text = describeQuiet("OpenCode", { kind: "waiting-model", nearFullContext: false }, 60_000, 900_000);- expect(text).toBe("OpenCode is waiting on its model: no reply for 60 s, but its request is still open. Its model provider may be slow or busy; the turn stops after 15 min of silence.");+ expect(text).toBe("OpenCode is waiting on its model: no reply for 60 s, but its request is still open. Its model provider may be slow or busy; with no tool or question active, the turn may stop after 15 min of silence.");expect(text).not.toContain("rate limit");});it("states the silence guard without rounding it up", () => {expect(describeQuiet("OpenCode", { kind: "waiting-model", nearFullContext: false }, 60_000, 90_000))- .toContain("the turn stops after 90 s of silence");+ .toContain("the turn may stop after 90 s of silence");});it("leaves out the stop time when the prompt silence guard is off", () => {diff --git a/server/drivers/acp/quiet-status.ts b/server/drivers/acp/quiet-status.tsindex a9f73a0771..ec46789397 100644--- a/server/drivers/acp/quiet-status.ts+++ b/server/drivers/acp/quiet-status.ts@@ -413,7 +413,7 @@ export function describeQuiet(name: string, state: QuietState, quietMs: number,if (state.nearFullContext) {return `${name} is waiting on its model: no reply for ${quiet}, but its request is still open. Its history is nearly full, so it may be compressing it.`;}- const ownStop = stopAfterMs > 0 ? `; the turn stops after ${formatQuietLimit(stopAfterMs)} of silence` : "";+ const ownStop = stopAfterMs > 0 ? `; with no tool or question active, the turn may stop after ${formatQuietLimit(stopAfterMs)} of silence` : "";return `${name} is waiting on its model: no reply for ${quiet}, but its request is still open. Its model provider may be slow or busy${ownStop}.`;}case "busy":