fix(ai): stop streams getting cut off and keep tool steps across messages

This commit is contained in:
LukeGus committed 2026-09-28 21:08:48 -05:00
1 parent c5b2b880b6
commit b4457b6121
17 files changed
+726 -254

No files matched your search

+5 -1
View File
@@ -1635,7 +1635,11 @@ export interface PluginFetchInit {
method?: string;
headers?: Record<string, string>;
body?: string;
/** Aborts the request after this long. Defaults to 30 seconds. */
/**
* Aborts the request when no response headers arrive within this long.
* Defaults to 30 seconds. A streamed body may also sit idle between chunks
* for this long, never less than 5 minutes.
*/
timeoutMs?: number;
/**
* Exact private or loopback hosts this request may reach. Everything else