pricing docs: nightly ECB FX refresh (boot sync + 04:30 UTC restart timer)
This commit is contained in:
1 parent
b792198b36
commit
c585cb7228
1 file changed
+10
@@ -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.
|
||||
Reference in new issue
Block a user