From 3ad42ff29e86885113d48f99dede0077ce1b3cec Mon Sep 17 00:00:00 2001 From: kami Date: Wed, 10 Jun 2026 20:54:39 +0400 Subject: [PATCH] fix(llama-cpp): raise default request timeout 60s -> 600s Long generations (plan/patch stages on larger contexts) exceeded the 1-minute HTTP timeout and surfaced as provider failures mid-pipeline. --- .../inference/llama/cpp/LlamaCppInferenceProvider.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/inference/llama_cpp/src/main/kotlin/com/correx/infrastructure/inference/llama/cpp/LlamaCppInferenceProvider.kt b/infrastructure/inference/llama_cpp/src/main/kotlin/com/correx/infrastructure/inference/llama/cpp/LlamaCppInferenceProvider.kt index b3ade9db..c18258a4 100644 --- a/infrastructure/inference/llama_cpp/src/main/kotlin/com/correx/infrastructure/inference/llama/cpp/LlamaCppInferenceProvider.kt +++ b/infrastructure/inference/llama_cpp/src/main/kotlin/com/correx/infrastructure/inference/llama/cpp/LlamaCppInferenceProvider.kt @@ -29,7 +29,7 @@ import kotlinx.serialization.encodeToString import kotlinx.serialization.json.Json import org.slf4j.LoggerFactory -private const val DEFAULT_REQUEST_TIMEOUT_MS = 60_000L +private const val DEFAULT_REQUEST_TIMEOUT_MS = 600_000L private fun defaultHttpClient(): HttpClient = HttpClient(CIO) { install(ContentNegotiation) {