From c585cb722882fb417a0c4fd8845d5e7b438d5281 Mon Sep 17 00:00:00 2001 From: Inferencebot Date: Wed, 18 Nov 2026 18:11:15 +0000 Subject: [PATCH] pricing docs: nightly ECB FX refresh (boot sync + 04:30 UTC restart timer) --- provider-pricing/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/provider-pricing/README.md b/provider-pricing/README.md index 12a9184..5b131e6 100644 --- a/provider-pricing/README.md +++ b/provider-pricing/README.md @@ -42,3 +42,13 @@ Regolo quotes in **EUR**; the gateway converts at the **ECB daily reference rate listed rates appear in **EUR with the same numerals the gateway carries** — whether an EUR→USD conversion is intended there is **unverified**; confirm it against the GreenPT invoice before treating the figures as final. +" + +## Automation (2026-11-18) + +`eur_prices.json` in `code/litellm` is the EUR source of truth. At gateway boot, +`fx_sync.py` fetches the ECB daily reference rate and rewrites the USD +`model_info` fields (fail-open: feed down = keep last prices). A systemd timer +(`gateway-fx-restart.timer`, 04:30 UTC daily) restarts the gateway so the boot +sync applies the fresh rate. The portal's daily sweep spot-checks ECB vs the +config and emails info@ only if the feed is stale or missing.