Fix Local Agent Execution And Auth Checks

- Gate server requests on available credentials
- Run local child agents directly without a parent run ID
- Include command IDs in Bedrock context and recognize transfer tools
This commit is contained in:
2026-07-28 10:43:59 -05:00
parent 87e0c83e9e
commit a078287f4b
35 changed files with 1078 additions and 237 deletions
+1 -1
View File
@@ -13,4 +13,4 @@
mod prompt;
mod reviewer;
pub use reviewer::{CrosscheckReviewer, CrosscheckReviewerEvent, ReviewOutcome};
pub use reviewer::{CrosscheckReviewer, CrosscheckReviewerEvent, ReviewOutcome};
+1 -1
View File
@@ -81,4 +81,4 @@ mod tests {
assert!(!is_approved("1. Fix the loop\n2. Rename variable"));
assert!(!is_approved(""));
}
}
}
+1 -4
View File
@@ -260,10 +260,7 @@ impl CrosscheckReviewer {
});
// Use a non-streaming request by calling the same endpoint but with stream: false
let url = format!(
"{}/chat/completions",
config.base_url.trim_end_matches('/')
);
let url = format!("{}/chat/completions", config.base_url.trim_end_matches('/'));
let http = reqwest::Client::new();
let mut request_builder = http.post(&url).json(&request_body);