Louis.Anson
c008cfe920
fix(copilot): pass two-slash custom-model ids through unchanged
...
Copilot enterprise custom models (BYOK) expose catalog ids shaped
owner/sub/model. normalize_copilot_model_id() only tried the full id and the
id minus its FIRST segment, and returned the stripped form when neither
matched the (unreachable) catalog - corrupting those ids into sub/model,
which the CLI's second normalization pass then stripped again to model. The
Copilot API answered HTTP 400 model_not_supported on every call.
Only accept the strip guess when the remainder is itself a flat id: a result
that still contains "/" cannot be a Copilot id.
Fixes #110597
2026-09-15 04:47:37 -07:00
..
2026-09-15 03:58:44 -07:00
2026-09-13 21:07:35 -07:00
2026-09-13 21:07:35 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 04:08:53 -07:00
2026-09-15 12:51:27 +05:30
2026-09-15 03:34:20 -07:00
2026-09-14 20:38:07 +05:30
2026-09-15 04:12:13 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 00:41:13 +05:30
2026-09-15 03:40:26 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 04:47:37 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 04:08:00 -07:00
2026-09-15 04:12:13 -07:00
2026-09-14 08:50:29 -07:00
2026-09-13 21:13:23 -07:00
2026-09-15 04:06:08 -07:00
2026-09-14 16:16:06 -07:00
2026-09-15 04:07:13 -07:00
2026-09-15 04:12:13 -07:00
2026-09-14 20:51:37 +05:30
2026-09-15 04:13:44 -07:00
2026-09-15 03:59:50 -07:00
2026-09-15 03:59:10 -07:00
2026-09-15 03:33:53 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 03:47:15 -07:00
2026-09-15 03:51:28 -07:00
2026-09-15 03:47:15 -07:00
2026-09-15 04:11:55 -07:00
2026-09-14 12:56:59 -04:00
2026-09-14 21:49:13 -04:00
2026-09-14 21:49:13 -04:00
2026-09-14 21:49:13 -04:00
2026-09-14 12:56:59 -04:00
2026-09-14 13:16:07 -04:00
2026-09-14 21:49:13 -04:00
2026-09-14 12:56:59 -04:00
2026-09-15 13:00:12 +05:30
2026-09-15 04:12:13 -07:00
2026-09-14 05:56:29 -07:00
2026-09-15 03:39:45 -07:00
2026-09-13 21:07:35 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 16:55:43 +05:30
2026-09-15 12:51:27 +05:30
2026-09-13 21:06:39 -07:00
2026-09-13 21:06:39 -07:00
2026-09-14 21:00:29 -07:00
2026-09-15 10:48:49 +05:30
2026-09-14 16:16:06 -07:00
2026-09-15 04:12:41 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 12:45:29 +05:30
2026-09-15 04:44:09 -07:00
2026-09-14 21:18:47 +05:30
2026-09-14 19:49:12 +05:30
2026-09-15 03:44:36 -07:00
2026-09-14 08:10:36 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 11:03:39 +05:30
2026-09-15 03:51:07 -07:00
2026-09-15 12:51:27 +05:30
2026-09-15 12:51:27 +05:30
2026-09-15 04:12:13 -07:00
2026-09-15 12:51:27 +05:30
2026-09-15 12:51:27 +05:30
2026-09-15 04:12:13 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 14:15:59 +05:30
2026-09-14 08:10:36 -07:00
2026-09-15 03:53:13 -07:00
2026-09-15 14:52:26 +05:30
2026-09-15 04:12:13 -07:00
2026-09-14 08:10:36 -07:00
2026-09-14 20:51:37 +05:30
2026-09-15 04:13:44 -07:00
2026-09-15 03:39:45 -07:00
2026-09-15 04:10:27 -07:00
2026-09-15 04:10:27 -07:00
2026-09-15 11:03:12 +05:30
2026-09-15 04:06:08 -07:00
2026-09-15 04:11:11 -07:00
2026-09-15 04:12:13 -07:00
2026-09-13 21:13:23 -07:00
2026-09-15 04:06:08 -07:00
2026-09-15 04:11:11 -07:00
2026-09-15 04:12:13 -07:00
2026-09-13 21:07:35 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 04:12:13 -07:00
2026-09-15 03:36:22 -07:00
2026-09-15 03:46:29 -07:00
2026-09-15 03:36:22 -07:00
2026-09-13 21:30:02 -07:00
2026-09-15 04:13:44 -07:00