mirror of
https://github.com/patriceckhart/zot.git
synced 2026-06-26 21:36:31 +02:00
Active() captured Catalog into a package var initializer, which runs before the init() functions in catalog_builtin.go/extra_models.go append the extended catalog. The picker therefore only ever saw the curated seed list, dropping openrouter and every other extra provider. Defer the Catalog read to call time so Active() reflects the fully-assembled list. Also make the model dialog filter strictly by logged-in providers: an empty credential set now yields an empty picker (with a /login hint) instead of dumping the entire ~900-model catalog. |
||
|---|---|---|
| .. | ||
| agent | ||
| core | ||
| provider | ||
| tui | ||