gsxdsm
2f96f2da0d
fix(engine): fall back to provider template for unrecognized model IDs
...
When a configured primary/fallback model isn't found in the registry,
check if the provider has any known models and construct a model
on-the-fly using that provider as a template (mirroring the pi CLI's
buildFallbackModel logic). This lets any valid provider model ID work
(e.g. any OpenRouter model string) without requiring it to be in the
built-in or custom model list. Only throw if the provider itself is
completely unknown.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-05 22:17:30 -07:00
..
2026-04-04 13:59:08 -07:00
2026-04-01 10:00:17 -07:00
2026-04-05 15:24:32 -07:00
2026-03-31 17:27:28 -07:00
2026-04-04 11:11:59 -07:00
2026-03-31 19:29:47 -07:00
2026-03-31 13:33:44 -07:00
2026-04-05 13:37:21 -07:00
2026-04-05 13:37:21 -07:00
2026-04-04 19:47:48 -07:00
2026-04-04 19:47:48 -07:00
2026-03-31 13:33:44 -07:00
2026-03-31 13:33:44 -07:00
2026-04-05 19:13:51 -07:00
2026-04-05 21:36:18 -07:00
2026-03-29 18:10:35 -07:00
2026-03-31 20:17:25 -07:00
2026-04-03 15:35:12 -07:00
2026-03-26 22:44:11 -04:00
2026-04-01 07:19:44 -07:00
2026-04-04 17:36:18 -07:00
2026-04-05 15:53:48 -07:00
2026-04-01 21:25:08 -07:00
2026-04-03 21:34:39 -07:00
2026-04-02 10:30:55 -07:00
2026-04-05 22:17:30 -07:00
2026-04-04 19:47:48 -07:00
2026-04-05 22:17:30 -07:00
2026-04-01 07:44:04 -07:00
2026-04-04 00:29:34 -07:00
2026-04-04 02:01:58 -07:00
2026-04-04 02:01:58 -07:00
2026-04-02 10:45:51 -07:00
2026-04-02 10:45:28 -07:00
2026-03-31 23:19:03 -07:00
2026-04-02 17:55:25 -07:00
2026-04-02 13:39:04 -07:00
2026-04-03 07:58:45 -07:00
2026-04-03 07:58:45 -07:00
2026-04-05 21:59:42 -07:00
2026-04-05 00:35:03 -07:00
2026-04-05 17:27:03 -07:00
2026-04-05 20:56:58 -07:00
2026-04-05 20:56:58 -07:00
2026-04-05 21:36:18 -07:00
2026-04-05 21:36:18 -07:00
2026-04-05 13:37:21 -07:00
2026-04-05 13:37:21 -07:00
2026-04-04 22:03:42 -07:00
2026-04-04 22:03:42 -07:00
2026-04-05 17:27:03 -07:00
2026-04-05 17:27:03 -07:00
2026-03-31 19:29:47 -07:00
2026-04-02 13:29:48 -07:00
2026-03-26 22:44:11 -04:00
2026-04-05 20:56:58 -07:00
2026-04-04 18:31:18 -07:00
2026-04-04 18:31:18 -07:00