mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-19 00:03:21 +00:00
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> |
||
|---|---|---|
| .. | ||
| data | ||
| internal | ||
| migrations | ||
| models | ||
| retrieval | ||
| routers | ||
| socket | ||
| static | ||
| storage | ||
| tools | ||
| utils | ||
| __init__.py | ||
| alembic.ini | ||
| config.py | ||
| constants.py | ||
| env.py | ||
| events.py | ||
| functions.py | ||
| main.py | ||
| tasks.py | ||