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";