add call_simple for non-agent LLM calls
audit, digest, and compare now go through the API backend via
call_simple(), which logs to llm-logs/{caller}/.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
e3f7d6bd3c
commit
04dffa2184
4 changed files with 27 additions and 13 deletions
|
|
@ -384,11 +384,8 @@ fn llm_compare(
|
|||
) -> Result<std::cmp::Ordering, String> {
|
||||
let prompt = build_compare_prompt(a, b);
|
||||
|
||||
let response = if model == "haiku" {
|
||||
llm::call_haiku("compare", &prompt)?
|
||||
} else {
|
||||
llm::call_sonnet("compare", &prompt)?
|
||||
};
|
||||
let _ = model; // model selection handled by API backend config
|
||||
let response = llm::call_simple("compare", &prompt)?;
|
||||
let response = response.trim().to_uppercase();
|
||||
|
||||
if response.contains("BETTER: B") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue