call_api_with_tools_sync() -> src/agent/oneshot.rs

This commit is contained in:
Kent Overstreet 2026-04-07 00:57:35 -04:00
parent da24e02159
commit cbf7653cdf
9 changed files with 638 additions and 234 deletions

View file

@ -399,7 +399,7 @@ fn llm_compare(
let prompt = build_compare_prompt(a, b);
let _ = model; // model selection handled by API backend config
let response = crate::subconscious::api::call_api_with_tools_sync(
let response = crate::agent::oneshot::call_api_with_tools_sync(
"compare", &[prompt], &[], None, 10, &[], None, &|_| {})?;
let response = response.trim().to_uppercase();