Display budget as spend status, not exhaustion alarm #31
1 changed files with 2 additions and 1 deletions
|
|
@ -137,7 +137,8 @@ def render_result(result: ResearchResult, console: Console) -> None:
|
|||
conf_text.append(f"Source authority: {cf.source_authority}\n")
|
||||
conf_text.append(f"Contradiction detected: {cf.contradiction_detected}\n")
|
||||
conf_text.append(f"Query specificity match: {cf.query_specificity_match:.2f}\n")
|
||||
conf_text.append(f"Budget exhausted: {cf.budget_exhausted}\n")
|
||||
budget_status = "spent" if cf.budget_exhausted else "under cap"
|
||||
conf_text.append(f"Budget status: {budget_status}\n")
|
||||
conf_text.append(f"Recency: {cf.recency or 'unknown'}")
|
||||
console.print(Panel(conf_text, title="Confidence", border_style="green"))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue