teknium1
9202bae546
fix(dashboard): custom endpoint validation persists the base URL that served /models ( #65488 )
...
A custom OpenAI-compatible endpoint typed without `/v1` in the Desktop
onboarding or Settings > Custom endpoints flow was probed only at
`{base}/models`, while the CLI's probe_api_models falls through to the
`/v1` alternate. Whatever the probe reported, the URL was saved verbatim
and the runtime POSTs `{base_url}/chat/completions` to it, so a server
that only serves `/v1/*` 404'd every chat request.
Both dashboard validators (`/api/providers/validate` OPENAI_BASE_URL
branch and `/api/providers/custom-endpoints/validate`) now share one
probe that tries the URL as entered and then its `/v1` variant (or the
stripped variant), and return `resolved_base_url` — the base that
actually served the model list. The Desktop onboarding persists that
URL, and the Settings "Test" rewrites the form's URL to it so the
following Save stores a URL chat can reach.
Co-authored-by: Jeongseok Kang <jskang@lablup.com >
2026-09-19 10:04:52 -07:00
..
2026-09-18 09:18:00 -07:00
2026-09-17 00:02:09 -07:00
2026-09-18 10:32:48 -07:00
2026-09-19 09:38:01 -07:00
2026-09-19 09:33:05 -07:00
2026-09-19 09:40:56 -07:00
2026-09-18 20:55:24 -07:00
2026-09-18 10:17:59 -07:00
2026-09-17 09:02:26 -07:00
2026-09-19 09:23:22 -07:00
2026-09-19 09:31:28 -07:00
2026-09-17 00:34:50 -05:00
2026-09-19 03:43:58 +05:30
2026-09-16 17:49:48 -07:00
2026-09-18 10:24:15 -07:00
2026-09-18 09:35:49 -07:00
2026-09-19 09:43:20 -07:00
2026-09-19 03:15:10 -07:00
2026-09-19 09:40:23 -07:00
2026-09-18 19:57:08 -07:00
2026-09-18 09:18:00 -07:00
2026-09-18 09:18:00 -07:00
2026-09-18 10:00:29 -07:00
2026-09-19 09:30:56 -07:00
2026-09-19 09:30:56 -07:00
2026-09-18 09:41:02 -07:00
2026-09-18 12:44:32 -07:00
2026-09-18 09:41:02 -07:00
2026-09-19 16:28:57 +05:30
2026-09-18 17:10:12 +02:00
2026-09-18 17:10:12 +02:00
2026-09-18 12:46:54 -07:00
2026-09-18 12:46:54 -07:00
2026-09-19 02:38:49 -07:00
2026-09-18 15:12:27 -07:00
2026-09-18 09:38:01 -07:00
2026-09-17 09:04:11 -07:00
2026-09-18 09:38:01 -07:00
2026-09-16 23:13:20 -04:00
2026-09-19 02:32:35 -07:00
2026-09-17 08:44:06 -07:00
2026-09-16 23:13:20 -04:00
2026-09-17 09:19:19 -07:00
2026-09-18 10:38:08 -07:00
2026-09-16 17:44:36 -07:00
2026-09-19 09:29:18 -07:00
2026-09-18 09:56:28 -07:00
2026-09-18 21:47:13 +05:30
2026-09-18 12:44:32 -07:00
2026-09-17 19:00:40 -04:00
2026-09-18 17:10:12 +02:00
2026-09-18 12:49:13 -07:00
2026-09-18 09:25:59 -07:00
2026-09-19 00:43:49 +05:30
2026-09-19 02:06:55 +05:30
2026-09-19 02:02:14 -07:00
2026-09-19 02:02:14 -07:00
2026-09-18 09:28:39 -07:00
2026-09-18 10:00:29 -07:00
2026-09-19 02:42:26 -07:00
2026-09-18 10:15:11 -07:00
2026-09-18 01:43:35 +05:30
2026-09-19 00:10:41 +05:30
2026-09-18 09:29:44 -07:00
2026-09-18 20:34:16 -07:00
2026-09-18 09:48:41 -07:00
2026-09-18 09:29:44 -07:00
2026-09-18 09:50:19 -07:00
2026-09-18 10:21:42 -07:00
2026-09-18 09:32:02 -07:00
2026-09-17 08:55:01 -07:00
2026-09-18 09:32:02 -07:00
2026-09-18 10:04:23 -07:00
2026-09-18 22:36:24 -07:00
2026-09-17 08:52:53 -07:00
2026-09-18 11:03:57 -07:00
2026-09-18 12:48:16 -07:00
2026-09-18 10:10:05 -07:00
2026-09-19 09:53:48 -07:00
2026-09-18 09:19:04 -07:00
2026-09-17 08:44:33 -07:00
2026-09-19 02:44:02 -07:00
2026-09-18 17:09:28 +02:00
2026-09-18 09:45:32 -07:00
2026-09-18 12:47:49 -07:00
2026-09-18 09:23:13 -07:00
2026-09-18 09:41:02 -07:00
2026-09-19 09:34:40 -07:00
2026-09-18 11:01:52 -07:00
2026-09-17 08:55:04 -07:00
2026-09-19 22:18:25 +05:30
2026-09-19 09:32:32 -07:00
2026-09-18 15:40:37 +05:30
2026-09-19 09:42:49 -07:00
2026-09-18 09:52:03 -07:00
2026-09-19 09:24:25 -07:00
2026-09-18 11:01:52 -07:00
2026-09-16 18:12:34 -07:00
2026-09-19 09:42:18 -07:00
2026-09-18 11:01:52 -07:00
2026-09-17 09:04:11 -07:00
2026-09-18 09:50:52 -07:00
2026-09-16 17:51:11 -07:00
2026-09-18 17:09:28 +02:00
2026-09-17 09:03:29 -07:00
2026-09-17 18:36:20 -07:00
2026-09-18 10:01:01 -07:00
2026-09-17 00:11:27 -07:00
2026-09-19 03:19:18 -07:00
2026-09-18 09:43:19 -07:00
2026-09-18 09:43:19 -07:00
2026-09-18 09:43:19 -07:00
2026-09-19 01:43:14 +05:30
2026-09-18 10:18:40 -07:00
2026-09-18 15:40:37 +05:30
2026-09-17 08:53:48 -07:00
2026-09-18 15:40:37 +05:30
2026-09-18 10:29:13 -07:00
2026-09-18 01:43:35 +05:30
2026-09-19 09:25:29 -07:00
2026-09-17 09:06:59 -07:00
2026-09-18 12:52:36 -07:00
2026-09-18 09:38:01 -07:00
2026-09-18 17:09:28 +02:00
2026-09-17 14:24:53 -04:00
2026-09-17 00:34:50 -05:00
2026-09-19 09:32:32 -07:00
2026-09-19 03:43:03 +05:30
2026-09-18 09:55:21 -07:00
2026-09-19 00:24:50 +05:30
2026-09-18 10:38:41 -07:00
2026-09-16 17:49:48 -07:00
2026-09-18 22:36:41 -07:00
2026-09-18 12:49:40 -07:00
2026-09-18 21:47:13 +05:30
2026-09-18 09:47:06 -07:00
2026-09-18 10:45:07 -07:00
2026-09-17 00:02:09 -07:00
2026-09-19 09:57:21 -07:00
2026-09-18 12:51:22 -07:00
2026-09-18 09:38:01 -07:00
2026-09-18 09:38:34 -07:00
2026-09-18 09:49:46 -07:00
2026-09-19 01:44:53 +05:30
2026-09-18 10:15:11 -07:00
2026-09-18 21:47:13 +05:30
2026-09-19 09:42:18 -07:00
2026-09-17 00:02:09 -07:00
2026-09-17 00:02:09 -07:00
2026-09-17 00:02:09 -07:00
2026-09-19 02:33:41 -07:00
2026-09-18 12:47:23 -07:00
2026-09-18 12:44:04 -07:00
2026-09-17 00:02:09 -07:00
2026-09-17 00:02:09 -07:00
2026-09-18 12:47:23 -07:00
2026-09-18 17:09:28 +02:00
2026-09-17 00:02:09 -07:00
2026-09-18 17:09:28 +02:00
2026-09-19 02:01:36 -07:00
2026-09-19 02:01:36 -07:00
2026-09-18 09:38:01 -07:00
2026-09-19 02:02:14 -07:00
2026-09-17 00:02:09 -07:00
2026-09-19 02:33:41 -07:00
2026-09-19 02:33:41 -07:00
2026-09-19 09:42:49 -07:00
2026-09-19 02:39:51 -07:00
2026-09-18 01:43:35 +05:30
2026-09-18 10:32:15 -07:00
2026-09-18 10:18:40 -07:00
2026-09-19 10:04:52 -07:00
2026-09-18 12:46:54 -07:00
2026-09-18 10:18:40 -07:00
2026-09-19 09:20:54 -07:00
2026-09-17 20:33:31 +05:30
2026-09-19 10:04:52 -07:00
2026-09-18 09:25:59 -07:00