feat(llm): increase max retries for streaming requests from 3 to 10

refactor(shell): remove unused debug logging from tracing imports
This commit is contained in:
asepharyana
2026-07-20 16:16:26 +07:00
parent 7ea226509c
commit 6c7995f5f5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -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`.
///