The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore: files changed scripts/debug/run-multi-turn-capture.mjs
Steven Enamakel8273e5ba1e8d
diff --git a/scripts/debug/run-multi-turn-capture.mjs b/scripts/debug/run-multi-turn-capture.mjsindex 25dfb04c55..7be6f2b45f 100644--- a/scripts/debug/run-multi-turn-capture.mjs+++ b/scripts/debug/run-multi-turn-capture.mjs@@ -129,17 +129,18 @@ async function waitForTurnToSettle(repliesBefore, { timeoutMs = 300_000 } = {})console.log(`[multi-turn] core=${coreUrl} thread_id=${threadId}`);for (const [index, message] of TURNS.entries()) {- const before = capturedCount();+ const requestsBefore = capturedCount();+ const repliesBefore = persistedReplies();const started = Date.now();await rpc('openhuman.channel_web_chat', {client_id: `prefix-audit-${threadId}`,thread_id: threadId,message,});- const after = await waitForTurnToSettle(before);+ await waitForTurnToSettle(repliesBefore);console.log(- `[multi-turn] turn ${index + 1}/${TURNS.length} settled in ${Date.now() - started}ms — ` +- `${after - before} inference request(s)`+ `[multi-turn] turn ${index + 1}/${TURNS.length} completed in ${Date.now() - started}ms — ` ++ `${capturedCount() - requestsBefore} inference request(s)`);}