Seefs
16369071a1
fix(relay): normalize /pg/ playground path for route matching ( #8534 )
...
Playground sends chat completions to /pg/chat/completions while GenRelayInfo maps info.RequestURLPath to /v1/chat/completions. Distributor path filters, per-route pass-through lookup in InitChannelMeta, and route resolution in the advanced custom and provider plugin adaptors still read raw c.Request.URL.Path, rejecting advanced custom, vLLM/SGLang preset, and provider plugin channels in Playground.
Add common.NormalizeRelayPath to map /pg/... paths onto /v1/... at the route matching and provider plugin hook boundaries while keeping c.Request.URL.Path unchanged for Playground detection, group selection, and request logs.
Closes #5966
2026-12-02 15:42:41 +08:00
..
2026-10-09 21:39:51 +08:00
2026-10-09 21:39:51 +08:00
2026-09-30 20:52:36 +08:00
2026-10-17 22:17:59 +08:00
2026-11-01 21:56:17 +08:00
2026-10-09 21:39:51 +08:00
2026-09-30 17:24:19 +08:00
2026-09-30 17:24:19 +08:00
2026-09-30 17:24:19 +08:00
2026-09-08 20:55:03 +08:00
2026-12-02 15:11:32 +08:00
2026-09-03 11:28:57 +08:00
2026-10-20 22:43:11 +08:00
2026-11-12 20:19:51 +08:00
2026-10-25 21:29:23 +08:00
2026-11-12 20:19:51 +08:00
2026-08-01 23:19:01 +08:00
2026-10-30 21:28:16 +08:00
2026-12-02 15:42:41 +08:00
2026-11-16 01:33:17 +08:00
2026-10-10 14:02:06 +08:00
2026-10-09 21:39:51 +08:00
2026-11-12 20:50:58 +08:00
2026-07-18 13:04:16 +08:00
2026-06-12 23:45:15 +08:00
2026-06-19 16:07:32 +08:00
2026-07-27 15:56:21 +08:00
2026-07-27 15:56:21 +08:00
2026-10-09 21:39:51 +08:00
2026-10-17 22:17:59 +08:00
2025-10-11 15:30:09 +08:00
2026-09-08 20:55:03 +08:00
2026-10-15 15:49:45 +08:00
2026-10-09 21:39:51 +08:00
2026-11-01 21:56:17 +08:00
2026-12-02 15:11:32 +08:00
2026-08-01 23:19:01 +08:00
2026-10-09 21:39:51 +08:00
2026-11-02 19:54:34 +08:00
2026-11-02 19:54:34 +08:00
2026-10-10 14:02:06 +08:00
2026-10-09 21:39:51 +08:00
2026-10-09 21:39:51 +08:00
2026-09-20 22:17:20 +08:00
2026-11-01 21:56:17 +08:00
2026-10-12 21:33:53 +08:00
2026-11-12 20:50:58 +08:00
2026-09-18 23:00:37 +08:00
2026-10-09 21:39:51 +08:00
2026-11-26 00:29:07 +08:00
2026-11-26 00:29:07 +08:00
2026-11-12 20:50:58 +08:00
2026-11-12 20:50:58 +08:00
2026-10-18 22:43:50 +08:00
2026-10-18 22:43:50 +08:00
2026-09-06 22:48:59 +08:00
2026-07-27 15:56:21 +08:00
2026-11-12 20:19:51 +08:00
2026-07-06 14:52:01 +08:00
2026-09-30 21:49:33 +08:00
2026-11-12 20:50:58 +08:00
2026-11-12 20:50:58 +08:00
2026-11-12 20:50:58 +08:00
2026-11-12 20:50:58 +08:00
2026-11-12 20:50:58 +08:00
2026-11-12 20:50:58 +08:00
2026-11-26 00:01:58 +08:00
2026-09-08 20:55:03 +08:00
2026-11-12 20:50:58 +08:00
2026-09-08 20:55:03 +08:00
2026-11-16 01:33:17 +08:00
2026-11-12 20:50:58 +08:00
2026-09-01 21:53:35 +08:00
2026-11-16 01:33:17 +08:00
2026-09-01 21:53:35 +08:00
2026-10-07 23:29:24 +08:00
2026-10-22 22:41:17 +08:00
2026-07-20 16:48:43 +08:00
2026-07-20 16:48:43 +08:00
2026-09-30 20:52:36 +08:00
2025-08-15 16:54:26 +08:00
2026-10-09 21:39:51 +08:00
2026-12-02 15:11:32 +08:00
2026-11-12 20:50:58 +08:00
2026-06-24 17:16:21 +08:00
2026-11-12 20:50:58 +08:00
2026-08-29 18:51:57 +08:00
2026-08-29 18:51:57 +08:00
2026-08-29 18:51:57 +08:00
2026-08-29 18:51:57 +08:00
2026-10-09 21:39:51 +08:00
2026-12-02 15:11:32 +08:00
2026-09-08 20:55:03 +08:00
2026-09-30 17:24:19 +08:00
2026-08-29 18:51:57 +08:00
2026-11-20 16:04:28 +08:00
2026-11-12 20:50:58 +08:00
2025-10-11 15:30:09 +08:00
2026-10-25 17:22:51 +08:00
2026-10-22 22:41:17 +08:00
2026-10-22 22:41:17 +08:00
2026-10-22 22:41:17 +08:00
2026-10-07 21:26:35 +08:00
2026-09-06 22:48:59 +08:00
2026-10-07 21:26:35 +08:00
2026-10-17 22:17:59 +08:00
2026-10-17 22:17:59 +08:00
2026-10-15 15:49:45 +08:00
2026-09-30 21:49:33 +08:00
2026-10-09 21:39:51 +08:00
2026-09-14 21:04:26 +08:00