chore: generate

This commit is contained in:
opencode-agent[bot]
2026-04-01 23:48:30 +00:00
parent d9d4f895bc
commit 4214ae205d
2 changed files with 10 additions and 13 deletions

View File

@@ -64,9 +64,7 @@ async function patchWithMock(
// Wait for the agent loop to actually start before checking idle.
// promptAsync is fire-and-forget — without this, waitSessionIdle can
// return immediately because the session status is still undefined.
await expect
.poll(() => llm.calls().then((c) => c > callsBefore), { timeout: 30_000 })
.toBe(true)
await expect.poll(() => llm.calls().then((c) => c > callsBefore), { timeout: 30_000 }).toBe(true)
await waitSessionIdle(sdk, sessionID, 120_000)
}