From a0e36996c41b5963b2f33c3e9288c573d1123918 Mon Sep 17 00:00:00 2001 From: Justin Paul Date: Sat, 30 May 2026 12:41:20 -0400 Subject: [PATCH] fmt: 'periods on file' (series may be weekly, not just monthly) Co-Authored-By: Claude Opus 4.8 (1M context) --- ag_bids_mcp/format.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ag_bids_mcp/format.py b/ag_bids_mcp/format.py index ac0f720..bb396ef 100644 --- a/ag_bids_mcp/format.py +++ b/ag_bids_mcp/format.py @@ -152,7 +152,7 @@ def fmt_price_trend(payload: dict, label: str = "price received") -> str: f"{_unit_money(s['min_cents'], unit)}–{_unit_money(s['max_cents'], unit)}) " f"· {_pct(s.get('vs_normal_pct'))} vs normal") lines.append(f"- **Recent direction:** {_delta_arrow({'up':1,'down':-1,'flat':0}[t['recent_direction']])} {t['recent_direction']}") - lines.append(f"\n_Source: {payload.get('source') or 'USDA NASS'} · {t['points']} months on file_") + lines.append(f"\n_Source: {payload.get('source') or 'USDA NASS'} · {t['points']} periods on file_") return "\n".join(lines) + "\n"