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.
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ import kotlinx.serialization.encodeToString
|
|||||||
import kotlinx.serialization.json.Json
|
import kotlinx.serialization.json.Json
|
||||||
import org.slf4j.LoggerFactory
|
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) {
|
private fun defaultHttpClient(): HttpClient = HttpClient(CIO) {
|
||||||
install(ContentNegotiation) {
|
install(ContentNegotiation) {
|
||||||
|
|||||||
Reference in New Issue
Block a user