From c5fed8c604bf2aa19442c60295328b92c2c1d8f5 Mon Sep 17 00:00:00 2001 From: "K. Isom" Date: Thu, 17 Sep 2026 05:49:52 -0700 Subject: [PATCH] straylight: raise OpenCode and llama-server timeouts to 2h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Local prefill and reasoning/coding turns often sit idle past OpenCode's 5–10 minute defaults. Align llama-server --timeout with that window. --- configs/opencode.nix | 6 ++++++ hw/straylight/default.nix | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/configs/opencode.nix b/configs/opencode.nix index 64ffadb..33ef900 100644 --- a/configs/opencode.nix +++ b/configs/opencode.nix @@ -26,6 +26,12 @@ let options = { baseURL = llamaBase; apiKey = "none"; + # Local prefill + Ornith / Laguna coding turns routinely sit + # quiet for >10 minutes. OpenCode defaults are 300000ms (request, + # headers, and inter-chunk). Milliseconds; false disables. + timeout = 7200000; + headerTimeout = 7200000; + chunkTimeout = 7200000; }; models = { "laguna-s-2.1" = text "Laguna S 2.1"; diff --git a/hw/straylight/default.nix b/hw/straylight/default.nix index 8330a3b..1254853 100644 --- a/hw/straylight/default.nix +++ b/hw/straylight/default.nix @@ -187,7 +187,8 @@ in --host 0.0.0.0 \ --port 11434 \ --models-preset ${llamaModelsIni} \ - --models-max 2 + --models-max 2 \ + --timeout 7200 ''; User = "llama-server"; Group = "llama-server";