llm retriability via structured status, resolve tools through canonical sandbox path, resume each frame with its own agent config
Nightly Build / build (push) Successful in 6m30s

This commit is contained in:
2026-07-21 22:26:29 +01:00
parent 8ff64cbddc
commit 8e891fbced
10 changed files with 321 additions and 173 deletions
+7 -4
View File
@@ -176,10 +176,13 @@ impl ChatbotClient for OpenAiClient {
let resp_text = http_resp.text().await?;
if !status.is_success() {
return Err(anyhow::anyhow!(
"openai: HTTP {status} from {url}\nbody: {resp_text}",
url = self.url(),
));
return Err(crate::LlmError {
status: Some(status.as_u16()),
message: format!(
"openai: HTTP {status} from {url}\nbody: {resp_text}",
url = self.url(),
),
}.into());
}
let resp: Value = serde_json::from_str(&resp_text)