Fixed worker job for cyrillyc names

This commit is contained in:
ab committed 2026-05-24 15:08:56 +03:00
1 parent 9fc141378e
commit b958d4521e
6 files changed
+34 -8

No files matched your search

+1 -1
View File
@@ -85,7 +85,7 @@ pub async fn probe_llm(
let body_text = resp.text().await.unwrap_or_default();
return AgentProbeResult {
latency_ms,
error: format!("HTTP {status}: {}", &body_text[..body_text.len().min(300)]),
error: format!("HTTP {status}: {}", body_text.chars().take(300).collect::<String>()),
..Default::default()
};
}