Separate model reasoning selections and reduce agent notification noise

This commit is contained in:
2026-10-25 01:31:39 -05:00
parent 55eb87a983
commit 596b7266a4
19 changed files with 829 additions and 138 deletions
+5 -1
View File
@@ -268,7 +268,7 @@ impl CrosscheckReviewer {
let effective_model = config.model.unwrap_or(model_id);
let request_body = serde_json::json!({
let mut request_body = serde_json::json!({
"model": effective_model,
"messages": [
{
@@ -286,6 +286,10 @@ impl CrosscheckReviewer {
"stream": false
});
if let Some(effort) = config.reasoning_effort {
request_body["reasoning_effort"] = effort.into();
}
// 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('/'));