From b4f65e25558bfa28ba10867a837b873ee53e22e3 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Mon, 23 Feb 2026 13:46:32 -0500 Subject: [PATCH] Increase stream_read timeout from 30s to 120s Prevents premature timeouts on slower streaming responses. Co-Authored-By: Claude Opus 4.6 --- crates/llm/src/types.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/llm/src/types.rs b/crates/llm/src/types.rs index 0705b87ab..6fa04a36c 100644 --- a/crates/llm/src/types.rs +++ b/crates/llm/src/types.rs @@ -642,7 +642,7 @@ impl Default for AdapterTimeout { Self { connect: 10.0, request: 120.0, - stream_read: 30.0, + stream_read: 120.0, } } } @@ -1130,7 +1130,7 @@ mod tests { let timeout = AdapterTimeout::default(); assert!((timeout.connect - 10.0).abs() < f64::EPSILON); assert!((timeout.request - 120.0).abs() < f64::EPSILON); - assert!((timeout.stream_read - 30.0).abs() < f64::EPSILON); + assert!((timeout.stream_read - 120.0).abs() < f64::EPSILON); } #[test]