You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(webapp): reload LLM pricing registry on Redis pub/sub
Subscribe to LLM_PRICING_RELOAD_CHANNEL on the worker Redis. Any
process that publishes on the channel triggers an immediate reload
of the in-memory model registry. The 5-minute periodic reload stays
as a backstop.
Lets pricing and model changes propagate to the live registry within
seconds instead of up to 5 minutes.
The LLM pricing registry now reloads from the database whenever a publish lands on `LLM_PRICING_RELOAD_CHANNEL` on the worker Redis, instead of waiting for the next 5-minute interval. LLM model and pricing changes reflect in cost enrichment within seconds.
0 commit comments