Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Auto effort: a queued peer ask keeps the engine default too

erywimcf47c6cb88a9
diff --git a/server/index.ts b/server/index.ts
index ad4149638d..09d21ecece 100644
--- a/server/index.ts
+++ b/server/index.ts
@@ -7542,7 +7542,7 @@ async function beginTurn(
console.log(turnStartLogLine({ botId, text: resolvedImages.text, images: turnImages.length, depth: commsDepth, card: Boolean(opts?.cardContinuation), spoken }));
const instanceId = instance.instanceId;
const automated = commsDepth > 0 || opts?.automationSource !== undefined
- || Boolean(opts?.unattended || opts?.cardContinuation || opts?.peerAsk || opts?.coordination || opts?.compactOnly || opts?.computerSelectionContinuation);
+ || Boolean(opts?.unattended || opts?.cardContinuation || opts?.peerAsk || opts?.userMessage?.peerAsk || opts?.coordination || opts?.compactOnly || opts?.computerSelectionContinuation);
let { model, effort, variant, quickModel } = checkedDirectRoute(bot, task, store.activePath(threadId), resolvedImages, instance, automated, quickFallback.refused(instance.instanceId));
let userMessage = opts?.userMessage;