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:
@@ -13,4 +13,4 @@
|
||||
mod prompt;
|
||||
mod reviewer;
|
||||
|
||||
pub use reviewer::{CrosscheckReviewer, CrosscheckReviewerEvent, ReviewOutcome};
|
||||
pub use reviewer::{CrosscheckReviewer, CrosscheckReviewerEvent, ReviewOutcome};
|
||||
|
||||
@@ -81,4 +81,4 @@ mod tests {
|
||||
assert!(!is_approved("1. Fix the loop\n2. Rename variable"));
|
||||
assert!(!is_approved(""));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user