diff --git a/index.ts b/index.ts index 7c94d20..1997cd7 100644 --- a/index.ts +++ b/index.ts @@ -910,6 +910,9 @@ async function chat(text: string, files: PromptFiles = []) { headers: { "Content-Type": "application/json" }, body: JSON.stringify(body), signal: AbortSignal.timeout(30 * 60 * 1000), + // Bun-specific: disable internal ~5min timeout; rely on AbortSignal above. + // @ts-expect-error Bun fetch option not in standard typings + timeout: false, }) const rawText = await chatRes.text()