Files
open-webui/backend/open_webui/routers
xyoniumandClaude 686d8dc54c fix: strip prefix id from model name in /responses endpoint (#28575)
The /openai/responses endpoint forwarded the prefixed model id (e.g.
"myprovider.gpt-4o") to the upstream provider instead of the stripped
native name, causing "model not found" errors when a connection has a
Prefix ID configured.

generate_chat_completion() already strips the prefix before forwarding;
apply the same strip_provider_model_prefix() call in responses() after
the urlIdx routing (which needs the prefixed id) and re-serialize the
body afterwards.

Also fixes the Azure non-v1 deployment path, which built the deployment
URL from the prefixed model name.

Co-authored-by: Claude <noreply@anthropic.com>
2026-08-17 00:53:00 -06:00
..
2026-06-29 01:38:41 -05:00
2026-08-10 23:13:10 -06:00
2026-08-13 17:26:38 -06:00
2026-06-29 13:03:14 -05:00
2026-08-13 16:42:10 -06:00
2026-08-14 00:22:17 -06:00
2026-07-24 02:36:10 -04:00
2026-07-27 04:38:46 -04:00
2026-07-26 19:10:41 -04:00
2026-06-29 05:47:21 -05:00
2026-08-11 17:35:05 -06:00
2026-08-11 17:35:05 -06:00
2026-07-27 19:39:36 -04:00
2026-08-16 23:38:34 -07:00
2026-06-29 13:03:14 -05:00
2026-08-16 23:21:00 -07:00
2026-08-10 23:13:10 -06:00
2026-08-11 01:15:05 -06:00
2026-08-09 13:22:46 -06:00
2026-08-16 23:51:38 -07:00
2026-06-17 02:52:35 +02:00