diff --git a/apps/infrastructure/src/llm/provider.rs b/apps/infrastructure/src/llm/provider.rs index 4a9b265..ca4e7f1 100644 --- a/apps/infrastructure/src/llm/provider.rs +++ b/apps/infrastructure/src/llm/provider.rs @@ -227,7 +227,7 @@ impl LlmClient { }; let url = format!("{}/chat/completions", self.base_url); - let max_retries_stream = 3; + let max_retries_stream = 10; let mut attempt = 0u32; loop { diff --git a/apps/infrastructure/src/tools/shell.rs b/apps/infrastructure/src/tools/shell.rs index d11fd5b..46661f3 100644 --- a/apps/infrastructure/src/tools/shell.rs +++ b/apps/infrastructure/src/tools/shell.rs @@ -8,7 +8,7 @@ use anyhow::Result; use serde_json::{json, Value}; use std::process::Command; use std::time::Duration; -use tracing::{debug, info, instrument, warn}; +use tracing::{info, instrument, warn}; /// Execute a shell command via `bash -c`. ///