From f56251374abe68c46af4ec52375a86b483fd05e5 Mon Sep 17 00:00:00 2001 From: Tracewebstudio Dev Date: Sat, 18 Jul 2026 14:23:04 +0200 Subject: [PATCH] Increase LiteLLM request timeout from 60s to 180s The askash-main model at llm.nxtgauge.com takes 60-120s to generate job descriptions; previous 60s timeout caused all JD generations to fail. Co-Authored-By: Claude Sonnet 4.6 --- apps/users/src/litellm.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/users/src/litellm.rs b/apps/users/src/litellm.rs index f0f4712..57a181a 100644 --- a/apps/users/src/litellm.rs +++ b/apps/users/src/litellm.rs @@ -82,7 +82,7 @@ pub async fn call_litellm( max_tokens: Option, ) -> Result { let client = reqwest::Client::builder() - .timeout(std::time::Duration::from_secs(60)) + .timeout(std::time::Duration::from_secs(180)) .build() .map_err(|e| format!("Failed to build HTTP client: {}", e))?; @@ -138,7 +138,7 @@ pub async fn call_litellm_with_system( max_tokens: Option, ) -> Result { let client = reqwest::Client::builder() - .timeout(std::time::Duration::from_secs(60)) + .timeout(std::time::Duration::from_secs(180)) .build() .map_err(|e| format!("Failed to build HTTP client: {}", e))?;