Commit Graph
2 Commits
Author SHA1 Message Date
claudeandClaude Opus 4.8 41313d8188 latest_prices: add include_expired passthrough for historical data
CI / test (pull_request) Successful in 16s
CI / build-push (pull_request) Has been skipped
ag-monitor now drops expired delivery months from /api/data/latest by
default (current + future only). Expose the opt-in through the MCP so the
advisor can fetch past months when a farmer explicitly asks for history,
while the default stays current + future.

- client.latest(include_expired=False): forwards include_expired=true only
  when set (None is dropped), so the default query string is unchanged.
- latest_prices tool: new include_expired arg with a description steering
  the model to set it only on an explicit historical request.

Tests: client passthrough (default omits the param; opt-in forwards it).
43 passed.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
2026-06-08 19:44:55 -04:00
claude bb4219da87 feat: nutrient_cost tool — cheapest fertilizer per lb of N/P/K (#1)
CI / test (push) Successful in 18s
CI / build-push (push) Successful in 5s
Co-authored-by: claude <[email protected]>
Co-committed-by: claude <[email protected]>
2026-06-04 15:58:59 -04:00