From 06a5840ca0df258fabd4ceac1b132af88158311c Mon Sep 17 00:00:00 2001 From: kujtimiihoxha Date: Mon, 29 Sep 2025 09:12:18 +0200 Subject: [PATCH] chore: increase timeout a bit in case of opus for e.x it could take longer for a response even in streaming for some reason --- internal/llm/agent/agent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/llm/agent/agent.go b/internal/llm/agent/agent.go index ce2a08d81ef9494e57739061f85696f771163991..2a3f45a2c56c74c80d32abead5038f9697dbf319 100644 --- a/internal/llm/agent/agent.go +++ b/internal/llm/agent/agent.go @@ -26,7 +26,7 @@ import ( "github.com/charmbracelet/crush/internal/shell" ) -const streamChunkTimeout = 80 * time.Second +const streamChunkTimeout = 2 * time.Minute type AgentEventType string