Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(debug): update queued image attachment roundtrip script

Steven Enamakel76da4fa638df
diff --git a/scripts/debug/web-scripts/queued-image-attachment-roundtrip.mjs b/scripts/debug/web-scripts/queued-image-attachment-roundtrip.mjs
index fd3a241f43..6ca4277759 100644
--- a/scripts/debug/web-scripts/queued-image-attachment-roundtrip.mjs
+++ b/scripts/debug/web-scripts/queued-image-attachment-roundtrip.mjs
@@ -107,7 +107,11 @@ export default async function queuedImageAttachmentRoundtrip({
// The mock captures a script when each model request starts. Hold the first
// request before its first token, then change the script for the queued turn.
mock.set("llmStreamScript", [
- { text: FIRST_REPLY, delayMs: 60_000 },
+ ...Array.from({ length: 20 }, (_, index) => ({
+ thinking: `Holding the first turn ${index + 1}.`,
+ delayMs: 1_000,
+ })),
+ { text: FIRST_REPLY },
{ finish: "stop" },
]);
await page.goto(new URL("/#/chat", page.url()).toString());