Display budget as spend status, not exhaustion alarm
Replace 'Budget exhausted: True/False' with 'Budget status: spent / under cap' in the Confidence panel. The previous wording read as a failure indicator when in practice 'exhausted' just means the agent spent its tool-use cap before voluntarily stopping — the normal, expected outcome on real questions with the default 20k budget. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
4816b9386e
commit
c0d4f391b6
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"Source authority: {cf.source_authority}\n")
|
||||||
conf_text.append(f"Contradiction detected: {cf.contradiction_detected}\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"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'}")
|
conf_text.append(f"Recency: {cf.recency or 'unknown'}")
|
||||||
console.print(Panel(conf_text, title="Confidence", border_style="green"))
|
console.print(Panel(conf_text, title="Confidence", border_style="green"))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue