Diego Rodrigues de Sa e Souza
6c22f8d4c3
fix(api): specialty model catalog ignores hidden OpenRouter model flags ( #9293 )
...
The specialty model catalog loops (image, rerank, audio, moderation, video,
music) in catalog.ts reduced OpenRouter model IDs to only the final path
segment via .split("/").pop() before calling getModelIsHidden(), so stored
hidden flags with full provider-relative paths (e.g. openrouter+google/chirp-3)
were never matched.
Fix: introduce a shared getSpecialtyModelRelativeId helper that strips only
the provider prefix (like the embedding loop already did), and apply it to
all 6 affected specialty loops. Also add a hidden-model guard to the live
OpenRouter catalog path that had no such check at all.
Co-authored-by: diegosouzapw <diegosouzapw@users.noreply.github.com >
2026-08-07 18:09:17 -03:00
..
2026-07-07 13:14:06 -03:00
2026-07-29 15:18:55 -03:00
2026-04-19 19:50:30 -03:00
2026-04-30 20:31:00 -03:00
2026-05-27 21:49:21 -03:00
2026-06-11 18:52:29 -03:00
2026-07-13 09:12:40 -03:00
2026-07-29 15:18:55 -03:00
2026-05-10 00:55:06 -03:00
2026-07-13 09:12:40 -03:00
2026-07-13 09:12:40 -03:00
2026-07-29 15:18:55 -03:00
2026-07-29 15:18:55 -03:00
2026-07-06 02:25:17 -03:00
2026-06-05 12:06:35 -03:00
2026-07-29 15:18:55 -03:00
2026-05-27 22:00:56 -03:00
2026-07-29 15:18:55 -03:00
2026-07-29 15:18:55 -03:00
2026-05-26 23:51:47 -03:00
2026-07-29 15:18:55 -03:00
2026-07-13 09:12:40 -03:00
2026-08-07 18:07:55 -03:00
2026-07-04 13:00:30 -03:00
2026-06-23 17:06:18 -03:00
2026-05-26 23:51:47 -03:00
2026-03-05 08:05:58 -03:00
2026-04-22 12:26:21 -03:00
2026-06-08 19:08:17 -03:00
2026-07-06 02:25:17 -03:00
2026-07-29 15:18:55 -03:00
2026-06-11 18:52:29 -03:00
2026-07-13 09:12:40 -03:00
2026-06-11 05:06:58 -03:00
2026-07-29 15:18:55 -03:00
2026-06-01 14:31:42 -03:00
2026-04-17 16:45:27 -03:00
2026-06-12 23:49:22 -03:00
2026-07-29 15:18:55 -03:00
2026-07-29 15:18:55 -03:00
2026-07-29 15:18:55 -03:00
2026-08-05 21:45:56 -03:00
2026-06-27 09:07:12 -03:00
2026-07-29 15:18:55 -03:00
2026-08-06 06:06:29 -03:00
2026-07-13 09:12:40 -03:00
2026-08-05 22:41:38 -03:00
2026-07-29 15:18:55 -03:00
2026-08-06 10:40:00 -03:00
2026-08-05 08:44:59 -03:00
2026-07-29 15:18:55 -03:00
2026-08-06 22:54:48 -03:00
2026-06-23 17:06:18 -03:00
2026-07-29 15:18:55 -03:00
2026-07-29 15:18:55 -03:00
2026-04-21 04:13:28 -03:00
2026-05-10 18:27:41 -03:00
2026-07-29 15:18:55 -03:00
2026-08-05 21:44:59 -03:00
2026-08-05 21:43:24 -03:00
2026-06-04 20:05:38 -03:00
2026-08-07 18:08:48 -03:00
2026-07-29 15:18:55 -03:00
2026-07-29 15:18:55 -03:00
2026-08-07 16:41:00 -03:00
2026-02-18 00:02:15 -03:00
2026-03-09 13:43:48 -03:00
2026-05-26 23:51:47 -03:00
2026-07-29 15:18:55 -03:00
2026-04-25 16:45:59 -03:00
2026-05-26 23:51:47 -03:00
2026-07-29 15:18:55 -03:00
2026-08-06 06:05:46 -03:00
2026-06-08 01:25:38 -03:00
2026-05-26 23:51:47 -03:00
2026-08-07 08:26:18 -03:00
2026-04-25 16:45:59 -03:00
2026-08-06 00:09:55 -03:00
2026-05-26 23:51:47 -03:00
2026-07-13 09:12:40 -03:00
2026-04-02 11:41:28 -06:00
2026-07-29 15:18:55 -03:00
2026-02-18 13:44:08 -03:00
2026-05-26 23:51:47 -03:00
2026-05-14 15:23:46 -03:00
2026-08-06 05:58:58 -03:00
2026-05-26 23:51:47 -03:00
2026-04-30 01:27:03 -03:00
2026-08-06 06:05:46 -03:00
2026-08-07 18:08:22 -03:00
2026-08-07 18:09:17 -03:00
2026-08-05 08:44:59 -03:00
2026-06-30 06:54:29 -03:00
2026-07-29 15:18:55 -03:00
2026-07-29 15:18:55 -03:00