Files
junction/tests
Konrad Lother 6412c738bd models: refresh from providers, import prices, dynamic model pools
The background fetch now repeats (models_refresh, default 300 s) instead of
running once at startup.  It reads the price fields the provider publishes next
to each model and merges them over prices.conf (budget/request windows from the
file survive).  Known limits survive a refresh, so ollama is not asked
/api/show for every model on every pass.

A pool can be built from a provider's current model list:

    pool free from opencode-go-free match "*-free"

Rules keep a marker and resolve the pool per request, so a model that appears
later is routable without a config reload.  Pools used as judges or ctx_fallback
resolve the same way.

Virtual keys grow a deny glob: the olivia key hides the olivia model from that
key's /v1/models and refuses it on the request path, while other keys still see
it.
2026-11-23 07:52:08 +00:00
..