Skip to content

Commit 7039545

Browse files
altimate-harness-bot[bot]saravmajestic
andauthored
fix: increase DEFAULT_CHUNK_TIMEOUT from 2min to 5min (#844)
The 120s SSE chunk timeout was too aggressive for slow LLM providers, causing spurious "SSE read timed out" aborts during long-running multi-tool sessions. Increase to 300s to reduce false positives. Co-authored-by: saravmajestic <saravmajestic@altimate.ai>
1 parent 9644a00 commit 7039545

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/opencode/src/provider/provider.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ import { VALID_ACCOUNT_RE } from "../altimate/plugin/snowflake"
5454
import { isValidDatabricksHost } from "../altimate/plugin/databricks"
5555
// altimate_change end
5656

57-
const DEFAULT_CHUNK_TIMEOUT = 120_000
57+
const DEFAULT_CHUNK_TIMEOUT = 300_000
5858

5959
export namespace Provider {
6060
const log = Log.create({ service: "provider" })

0 commit comments

Comments
 (0)