call_api_with_tools_sync() -> src/agent/oneshot.rs
This commit is contained in:
parent
da24e02159
commit
cbf7653cdf
9 changed files with 638 additions and 234 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue