Files
open-webui/backend/open_webui/routers
Classic298andGitHub fcedeb9034 feat: add /v1/responses proxy endpoint for Ollama (#23483)
Ollama recently added Responses API support via its OpenAI-compatible
endpoint (/v1/responses). This adds a proxy endpoint to the Ollama
router that forwards requests to Ollama's /v1/responses, applying
the same model resolution, access control, and prefix_id handling
used by the existing /v1/chat/completions and /v1/messages proxies.

Uses a typed ResponsesForm Pydantic model with required model field
and extra='allow' for forward compatibility, consistent with other
endpoint schemas in the file.

This allows API consumers (Codex, Claude Code, etc.) to use the
Responses API directly with Ollama-hosted models without requiring
a separate OpenAI-compatible connection.
2026-04-08 13:15:21 -07:00
..
2026-04-02 19:31:15 -05:00
2026-04-01 04:36:02 -05:00
2026-04-02 02:05:35 -05:00
2026-04-01 05:55:48 -05:00
2026-03-26 18:17:49 -05:00
2026-04-02 08:11:06 -05:00
2026-04-02 17:58:11 -05:00
2026-03-24 04:49:48 -05:00
2026-03-24 04:49:48 -05:00
2026-03-24 06:07:20 -05:00
2026-03-24 04:49:48 -05:00
2026-04-02 22:34:51 -05:00
2026-04-02 02:06:21 -05:00
2026-03-24 04:49:48 -05:00
2026-04-02 02:06:21 -05:00
2026-04-01 05:52:03 -05:00
2026-03-24 18:05:19 -05:00
2026-03-29 21:01:10 -05:00
2026-04-02 02:06:21 -05:00
2026-04-01 01:21:21 -05:00
2026-03-26 19:01:33 -05:00