latest_prices: include_expired passthrough for historical data #2
Reference in New Issue
Block a user
Delete Branch "include-expired-passthrough"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Companion to the ag-monitor change (justin/ag-bids#6). ag-monitor now drops expired delivery months from
/api/data/latestby default; this exposes the opt-in through the MCP.client.latest(include_expired=False)— forwardsinclude_expired=trueonly when set (None is dropped), so the default query string is unchanged.latest_pricestool — newinclude_expiredarg, described to steer the model to set it only on an explicit historical request. Default stays current + future.Tests: client passthrough (default omits the param; opt-in forwards it). 43 passed.
🤖 Generated with Claude Code