Skip to content

Commit 0e88dd9

Browse files
chore: generate
1 parent f965db9 commit 0e88dd9

3 files changed

Lines changed: 22 additions & 4 deletions

File tree

packages/opencode/src/config/provider.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ export const Info = Schema.Struct({
9191
}),
9292
timeout: Schema.optional(
9393
Schema.Union([PositiveInt, Schema.Literal(false)]).annotate({
94-
description:
95-
"Timeout in milliseconds for full requests to this provider. Set to false to disable timeout.",
94+
description: "Timeout in milliseconds for full requests to this provider. Set to false to disable timeout.",
9695
}),
9796
).annotate({
9897
description: "Timeout in milliseconds for full requests to this provider. Set to false to disable timeout.",

packages/opencode/test/provider/header-timeout.test.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,13 @@ afterEach(async () => {
1717
})
1818

1919
const it = testEffect(
20-
Layer.mergeAll(Provider.defaultLayer, Env.defaultLayer, Plugin.defaultLayer, TestLLMServer.layer, CrossSpawnSpawner.defaultLayer),
20+
Layer.mergeAll(
21+
Provider.defaultLayer,
22+
Env.defaultLayer,
23+
Plugin.defaultLayer,
24+
TestLLMServer.layer,
25+
CrossSpawnSpawner.defaultLayer,
26+
),
2127
)
2228

2329
it.live("headerTimeout does not abort delayed SSE body after headers arrive", () =>

packages/sdk/openapi.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13588,7 +13588,20 @@
1358813588
"enum": [false]
1358913589
}
1359013590
],
13591-
"description": "Timeout in milliseconds for requests to this provider. Default is 300000 (5 minutes). Set to false to disable timeout."
13591+
"description": "Timeout in milliseconds for full requests to this provider. Set to false to disable timeout."
13592+
},
13593+
"headerTimeout": {
13594+
"anyOf": [
13595+
{
13596+
"type": "integer",
13597+
"exclusiveMinimum": 0
13598+
},
13599+
{
13600+
"type": "boolean",
13601+
"enum": [false]
13602+
}
13603+
],
13604+
"description": "Timeout in milliseconds to wait for response headers. Provider integrations may set defaults. Set to false to disable timeout."
1359213605
},
1359313606
"chunkTimeout": {
1359413607
"type": "integer",

0 commit comments

Comments
 (0)