You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4eb29a6
Browse filesBrowse the repository at this point in the historyBrowse files
"Timeout in milliseconds between streamed SSE chunks for this provider (default: 300000). If no chunk arrives within this window, the request is aborted. Set to false to disable timeout.",
121
+
}),
122
+
).annotate({
118
123
description:
119
-
"Timeout in milliseconds between streamed SSE chunks for this provider. If no chunk arrives within this window, the request is aborted.",
124
+
"Timeout in milliseconds between streamed SSE chunks for this provider (default: 300000). If no chunk arrives within this window, the request is aborted. Set to false to disable timeout.",
* Timeout in milliseconds between streamed SSE chunks for this provider (default: 300000). If no chunk arrives within this window, the request is aborted. Set to false to disable timeout.
Copy file name to clipboardExpand all lines: packages/sdk/openapi.json
+11-2Lines changed: 11 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -20783,8 +20783,17 @@
20783
20783
"description": "Timeout in milliseconds to wait for response headers. Provider integrations may set defaults. Set to false to disable timeout."
20784
20784
},
20785
20785
"chunkTimeout": {
20786
-
"type": "integer",
20787
-
"exclusiveMinimum": 0
20786
+
"anyOf": [
20787
+
{
20788
+
"type": "integer",
20789
+
"exclusiveMinimum": 0
20790
+
},
20791
+
{
20792
+
"type": "boolean",
20793
+
"enum": [false]
20794
+
}
20795
+
],
20796
+
"description": "Timeout in milliseconds between streamed SSE chunks for this provider (default: 300000). If no chunk arrives within this window, the request is aborted. Set to false to disable timeout."
Copy file name to clipboardExpand all lines: packages/web/src/content/docs/config.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -392,7 +392,7 @@ Provider options can include `timeout`, `chunkTimeout`, and `setCacheKey`:
392
392
```
393
393
394
394
-`timeout` - Request timeout in milliseconds (default: 300000). Set to `false` to disable.
395
-
-`chunkTimeout` - Timeout in milliseconds between streamed response chunks. If no chunk arrives in time, the request is aborted.
395
+
-`chunkTimeout` - Timeout in milliseconds between streamed response chunks (default: 300000, or 5 minutes). If no chunk arrives in time, the request is aborted. Set to `false` to disable.
396
396
-`setCacheKey` - Ensure a cache key is always set for designated provider.
397
397
398
398
You can also configure [local models](/docs/models#local). [Learn more](/docs/models).
0 commit comments