Muhammad Usama
fdcae6deba
fix(cli): stop _apply_featured() shortlisting user-defined providers
...
_apply_featured() documented that only aggregator rows get a
featured_models shortlist, but decided "is this an aggregator?" with a
local heuristic: does any model id contain "/" and span >= 2 prefixes?
Every user-defined provider following the Org/Model id convention
therefore got a top-5-per-lab shortlist, and the desktop picker — whose
default-visible set IS featured_models — hid models its owner had
configured by hand (#120217 : 3 of 13 models in the reproduction,
including a brand-new flagship ranked out by a missing release_date).
The same module already answers this canonically: is_routing_aggregator(),
used by _strip_aggregator_overlaps(). Reuse it — skip the shortlist for
is_user_defined rows and for any slug the predicate does not claim, before
the models.dev lookup loop.
tests/hermes_cli/test_inventory.py asserted
featured_models == models for a user-defined providers.lab row, which is
exactly the behaviour this issue says is wrong; it now asserts [] while
keeping the constant-config-read invariant the test exists for.
Fixes #120217
2026-10-04 12:55:51 -05:00
..
2026-10-02 01:05:58 +05:30
2026-10-03 23:06:58 -04:00
2026-10-04 00:08:20 -07:00
2026-10-03 16:29:17 +05:30
2026-10-03 23:05:48 -07:00
2026-10-04 00:08:20 -07:00
2026-09-29 20:57:17 -05:00
2026-10-03 22:46:14 -04:00
2026-09-29 16:47:48 +05:30
2026-10-02 04:39:28 -07:00
2026-10-02 02:31:03 +05:30
2026-09-22 09:55:47 -04:00
2026-10-04 00:08:20 -07:00
2026-09-29 18:47:44 -05:00
2026-10-03 16:30:59 +05:30
2026-09-29 20:24:19 -04:00
2026-10-03 16:30:59 +05:30
2026-09-14 15:38:34 -04:00
2026-10-03 16:30:59 +05:30
2026-10-01 01:50:16 -05:00
2026-09-29 23:54:34 +05:30
2026-10-02 18:35:45 -05:00
2026-10-03 16:30:59 +05:30
2026-09-29 23:54:34 +05:30
2026-10-02 22:47:50 -04:00
2026-10-01 13:23:12 -07:00
2026-10-03 23:28:02 +05:30
2026-09-30 14:23:52 -05:00
2026-09-30 22:30:35 -04:00
2026-10-04 12:55:11 -04:00
2026-10-03 23:05:48 -07:00
2026-09-28 14:16:18 -07:00
2026-10-02 13:34:54 +05:30
2026-10-03 20:44:07 +05:30
2026-09-29 20:34:45 +05:30
2026-10-03 10:15:11 -07:00
2026-10-03 16:31:09 +05:30
2026-10-02 01:02:00 +05:30
2026-10-03 19:21:54 +05:30
2026-09-29 20:24:19 -04:00
2026-10-02 20:29:53 -05:00
2026-09-30 23:10:24 -05:00
2026-10-03 19:51:54 +05:30
2026-10-03 21:15:17 +05:30
2026-10-03 21:15:17 +05:30
2026-09-29 19:49:52 -05:00
2026-10-03 21:15:17 +05:30
2026-09-29 20:24:19 -04:00
2026-10-02 04:39:28 -07:00
2026-10-02 04:39:28 -07:00
2026-09-29 12:16:43 -04:00
2026-10-04 00:08:20 -07:00
2026-10-02 01:02:00 +05:30
2026-09-15 04:12:13 -07:00
2026-10-03 21:57:13 -04:00
2026-10-03 21:44:47 -04:00
2026-09-21 18:56:56 -04:00
2026-10-02 14:17:41 -07:00
2026-10-03 20:44:07 +05:30
2026-09-29 18:09:20 -05:00
2026-10-02 20:51:34 +00:00
2026-10-01 04:50:26 -05:00
2026-10-04 12:55:51 -05:00
2026-10-03 16:31:23 +05:30
2026-10-02 22:21:27 -05:00
2026-10-03 16:31:23 +05:30
2026-10-04 00:08:20 -07:00
2026-09-29 21:48:25 -05:00
2026-10-02 23:30:18 +05:30
2026-10-03 23:05:48 -07:00
2026-09-29 15:45:52 +05:30
2026-10-03 22:32:13 -04:00
2026-10-03 23:05:48 -07:00
2026-10-02 04:39:28 -07:00
2026-10-02 04:39:28 -07:00
2026-10-03 22:32:13 -04:00
2026-10-02 21:43:17 -05:00
2026-09-29 12:55:46 -07:00
2026-10-02 22:40:31 -05:00
2026-10-02 20:24:37 -05:00
2026-10-02 22:58:26 -05:00
2026-10-04 02:12:57 +05:30
2026-10-04 00:10:54 +05:30
2026-10-01 16:22:28 +05:30
2026-10-03 19:01:42 -07:00
2026-10-04 00:08:20 -07:00
2026-10-03 10:26:12 -07:00
2026-10-01 10:46:45 -07:00
2026-09-22 05:16:50 -04:00
2026-10-03 10:15:11 -07:00
2026-10-03 10:15:11 -07:00
2026-10-03 10:15:11 -07:00
2026-10-03 10:15:11 -07:00
2026-10-03 10:15:11 -07:00
2026-10-03 10:15:11 -07:00
2026-10-03 13:34:08 -07:00
2026-10-01 12:41:57 -07:00
2026-10-04 00:08:20 -07:00
2026-10-03 10:15:11 -07:00
2026-09-24 11:50:29 -04:00
2026-10-03 21:40:42 -04:00
2026-10-03 10:15:11 -07:00
2026-09-25 21:19:04 +05:30
2026-10-02 03:40:17 -07:00
2026-09-22 01:19:12 -07:00
2026-10-03 10:15:11 -07:00
2026-10-02 04:09:57 -07:00
2026-10-04 00:08:20 -07:00
2026-10-01 16:22:28 +05:30
2026-10-01 22:35:29 -07:00
2026-10-04 00:08:20 -07:00
2026-10-02 01:29:41 -07:00
2026-10-03 16:29:29 +05:30
2026-10-04 13:53:34 +05:30
2026-09-29 20:57:57 -05:00
2026-10-02 14:37:54 +05:30
2026-10-02 14:37:54 +05:30
2026-10-03 16:30:27 +05:30
2026-10-03 23:28:02 +05:30
2026-10-04 12:05:37 +05:30
2026-10-03 19:21:54 +05:30
2026-09-28 12:43:03 -07:00
2026-10-04 00:08:20 -07:00
2026-10-02 02:58:18 +05:30
2026-09-30 21:15:08 -07:00
2026-10-04 02:54:56 +05:30
2026-10-04 00:08:20 -07:00
2026-10-01 00:15:05 -05:00
2026-10-01 22:35:29 -07:00
2026-09-25 14:22:12 -04:00
2026-09-29 15:28:19 -05:00
2026-10-01 22:03:11 -07:00
2026-10-01 22:27:03 -07:00
2026-10-04 00:08:20 -07:00
2026-10-03 16:29:54 +05:30
2026-10-02 18:06:40 +00:00
2026-10-02 11:41:19 -07:00
2026-09-29 20:58:24 -05:00
2026-09-29 21:50:16 -05:00
2026-09-29 18:49:58 -05:00
2026-10-02 11:41:19 -07:00
2026-10-04 19:19:41 +05:30
2026-09-29 21:50:16 -05:00
2026-09-29 20:58:59 -05:00
2026-10-03 22:46:14 -04:00
2026-09-29 11:40:36 -05:00
2026-10-03 16:54:59 +05:30
2026-10-02 04:39:28 -07:00
2026-10-04 11:57:03 +05:30
2026-10-03 10:15:11 -07:00
2026-10-03 12:08:23 -04:00
2026-09-29 19:06:35 -05:00
2026-10-01 23:27:08 -07:00
2026-10-04 00:08:20 -07:00
2026-10-03 19:51:54 +05:30
2026-10-03 23:05:48 -07:00
2026-10-03 19:51:54 +05:30
2026-10-03 17:03:54 -04:00
2026-10-02 02:54:18 +05:30
2026-10-02 10:42:07 -04:00
2026-10-02 10:42:07 -04:00
2026-10-03 22:03:44 +05:30
2026-10-03 22:03:44 +05:30