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-20 22:28:33 +08:00
2026-09-06 22:49:00 +08:00
2026-09-15 00:06:42 +08:00
2026-08-29 18:51:57 +08:00
2026-11-12 20:50:58 +08:00
2026-09-14 13:19:46 +08:00
2026-10-09 21:39:51 +08:00
2026-11-12 20:19:51 +08:00
2026-11-12 20:19:51 +08:00
2026-11-02 19:54:34 +08:00
2026-10-16 22:30:06 +08:00
2026-09-06 14:02:39 +08:00
2026-09-06 22:49:00 +08:00
2026-10-22 13:06:58 +08:00
2026-11-07 15:53:18 +08:00
2026-11-07 15:53:18 +08:00
2026-02-04 18:23:17 +08:00
2026-02-04 18:23:17 +08:00
2026-06-24 12:50:54 +08:00
2026-10-19 20:22:37 +08:00
2026-07-28 15:09:49 +08:00
2024-08-23 17:16:09 +08:00
2026-10-19 20:22:37 +08:00
2026-07-20 16:48:43 +08:00
2026-10-17 23:24:33 +08:00
2026-11-23 03:22:21 +08:00
2026-10-09 21:39:51 +08:00
2026-09-08 20:55:03 +08:00
2026-12-02 15:42:41 +08:00
2025-02-19 18:38:29 +08:00
2026-10-09 21:39:51 +08:00
2025-07-10 20:55:43 +08:00
2026-11-12 20:50:58 +08:00
2025-12-15 17:24:09 +08:00
2026-11-12 20:19:51 +08:00
2026-11-12 20:19:51 +08:00
2026-10-09 21:39:51 +08:00
2026-12-02 15:11:32 +08:00
2026-10-09 21:39:51 +08:00
2026-11-23 03:22:21 +08:00
2026-10-07 21:26:35 +08:00
2026-06-24 17:16:21 +08:00
2025-07-21 15:39:16 +08:00
2026-09-06 22:49:00 +08:00
2026-02-04 21:26:07 +08:00
2026-10-09 21:39:51 +08:00
2026-07-20 18:11:22 +08:00
2025-12-19 23:16:56 +08:00
2026-08-26 20:57:54 +08:00
2026-09-08 20:55:03 +08:00
2026-09-15 01:07:07 +08:00
2026-09-18 11:24:30 +08:00
2026-10-09 21:39:51 +08:00
2026-06-05 11:39:29 +08:00
2026-09-08 20:55:03 +08:00
2026-07-06 14:52:01 +08:00
2026-09-08 20:55:03 +08:00
2026-10-15 15:49:45 +08:00
2026-11-09 14:36:38 +08:00
2026-10-16 22:30:06 +08:00
2026-02-04 21:26:07 +08:00
2026-02-04 21:26:07 +08:00
2026-10-16 22:30:06 +08:00
2026-10-09 21:39:51 +08:00
2026-10-09 21:39:51 +08:00
2026-08-29 18:51:57 +08:00
2026-07-20 16:48:43 +08:00
2026-01-26 22:18:04 +09:00
2026-07-20 16:48:43 +08:00
2026-10-09 21:39:51 +08:00
2023-04-22 20:39:27 +08:00
2026-11-27 19:11:25 +08:00