[GH-ISSUE #16346] issue: using o3-pro yields "This is not a chat model..." #137595

Closed
opened 2026-05-25 07:50:06 -05:00 by GiteaMirror · 6 comments
Owner

Originally created by @zenobios on GitHub (Aug 7, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16346

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

v0.6.18

Ollama Version (if applicable)

No response

Operating System

Ubuntu 22.04.5 LTS

Browser (if applicable)

Brave 1.80.25

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

Using the o3-pro ChatGPT model works as desired.

Actual Behavior

Using the ChatGPT o3-pro model yields the error message

Image

Any recommendations?

Steps to Reproduce

  1. Choose ChatGPT model "o3-pro"
  2. Enter a prompt
  3. Execute

Logs & Screenshots

Docker logs:

2025-08-07 07:47:09.619 | ERROR    | open_webui.routers.openai:generate_chat_completion:887 - 404, message='Not Found', url='https://api.openai.com/v1/chat/completions' - {}
Traceback (most recent call last):

  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/local/lib/python3.11/site-packages/uvicorn/__main__.py", line 4, in <module>
    uvicorn.main()
    │       └ <Command main>
    └ <module 'uvicorn' from '/usr/local/lib/python3.11/site-packages/uvicorn/__init__.py'>
  File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
           │    │     │       └ {}
           │    │     └ ()
           │    └ <function Command.main at 0x7f6c862daac0>
           └ <Command main>
  File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1363, in main
    rv = self.invoke(ctx)
         │    │      └ <click.core.Context object at 0x7f6c87060c10>
         │    └ <function Command.invoke at 0x7f6c862da7a0>
         └ <Command main>
  File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           │   │      │    │           │   └ {'host': '0.0.0.0', 'port': 8080, 'forwarded_allow_ips': '*', 'workers': 1, 'app': 'open_webui.main:app', 'uds': None, 'fd': ...
           │   │      │    │           └ <click.core.Context object at 0x7f6c87060c10>
           │   │      │    └ <function main at 0x7f6c85f94fe0>
           │   │      └ <Command main>
           │   └ <function Context.invoke at 0x7f6c862d99e0>
           └ <click.core.Context object at 0x7f6c87060c10>
  File "/usr/local/lib/python3.11/site-packages/click/core.py", line 794, in invoke
    return callback(*args, **kwargs)
           │         │       └ {'host': '0.0.0.0', 'port': 8080, 'forwarded_allow_ips': '*', 'workers': 1, 'app': 'open_webui.main:app', 'uds': None, 'fd': ...
           │         └ ()
           └ <function main at 0x7f6c85f94fe0>
  File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 413, in main
    run(
    └ <function run at 0x7f6c863b7b00>
  File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 580, in run
    server.run()
    │      └ <function Server.run at 0x7f6c86240c20>
    └ <uvicorn.server.Server object at 0x7f6c86d6bdd0>
  File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 67, in run
    return asyncio.run(self.serve(sockets=sockets))
           │       │   │    │             └ None
           │       │   │    └ <function Server.serve at 0x7f6c86240cc0>
           │       │   └ <uvicorn.server.Server object at 0x7f6c86d6bdd0>
           │       └ <function run at 0x7f6c8670d440>
           └ <module 'asyncio' from '/usr/local/lib/python3.11/asyncio/__init__.py'>
  File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
    return runner.run(main)
           │      │   └ <coroutine object Server.serve at 0x7f6c85f588b0>
           │      └ <function Runner.run at 0x7f6c86580fe0>
           └ <asyncio.runners.Runner object at 0x7f6c85f9b110>
  File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           │    │     │                  └ <Task pending name='Task-1' coro=<Server.serve() running at /usr/local/lib/python3.11/site-packages/uvicorn/server.py:71> wai...
           │    │     └ <cyfunction Loop.run_until_complete at 0x7f6c85f7f2a0>
           │    └ <uvloop.Loop running=True closed=False debug=False>
           └ <asyncio.runners.Runner object at 0x7f6c85f9b110>
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 141, in coro
    await self.app(scope, receive_or_disconnect, send_no_error)
          │    │   │      │                      └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x7f6c1c589080>
          │    │   │      └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f6c1c58b2e0>
          │    │   └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.0', 'server': ('172.18.0.2', 8080), 'c...
          │    └ <starlette_compress.CompressMiddleware object at 0x7f6c85fc9120>
          └ <open_webui.main.RedirectMiddleware object at 0x7f6c24917810>
  File "/usr/local/lib/python3.11/site-packages/starlette_compress/__init__.py", line 92, in __call__
    return await self._zstd(scope, receive, send)
                 │    │     │      │        └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x7f6c1c589080>
                 │    │     │      └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f6c1c58b2e0>
                 │    │     └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.0', 'server': ('172.18.0.2', 8080), 'c...
                 │    └ <member '_zstd' of 'CompressMiddleware' objects>
                 └ <starlette_compress.CompressMiddleware object at 0x7f6c85fc9120>
  File "/usr/local/lib/python3.11/site-packages/starlette_compress/_zstd_legacy.py", line 100, in __call__
    await self.app(scope, receive, wrapper)
          │    │   │      │        └ <function ZstdResponder.__call__.<locals>.wrapper at 0x7f6c1c209760>
          │    │   │      └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f6c1c58b2e0>
          │    │   └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.0', 'server': ('172.18.0.2', 8080), 'c...
          │    └ <member 'app' of 'ZstdResponder' objects>
          └ <starlette_compress._zstd_legacy.ZstdResponder object at 0x7f6c24b8f480>
  File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 62, in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
          │                            │    │    │     │      │        └ <function ZstdResponder.__call__.<locals>.wrapper at 0x7f6c1c209760>
          │                            │    │    │     │      └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f6c1c58b2e0>
          │                            │    │    │     └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.0', 'server': ('172.18.0.2', 8080), 'c...
          │                            │    │    └ <starlette.requests.Request object at 0x7f6c1c7a5610>
          │                            │    └ <fastapi.routing.APIRouter object at 0x7f6c4f17be10>
          │                            └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7f6c25010ad0>
          └ <function wrap_app_handling_exceptions at 0x7f6c83605bc0>
  File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
    await app(scope, receive, sender)
          │   │      │        └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7f6c1c5e7d80>
          │   │      └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f6c1c58b2e0>
          │   └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.0', 'server': ('172.18.0.2', 8080), 'c...
          └ <fastapi.routing.APIRouter object at 0x7f6c4f17be10>
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 715, in __call__
    await self.middleware_stack(scope, receive, send)
          │    │                │      │        └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7f6c1c5e7d80>
          │    │                │      └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f6c1c58b2e0>
          │    │                └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.0', 'server': ('172.18.0.2', 8080), 'c...
          │    └ <bound method Router.app of <fastapi.routing.APIRouter object at 0x7f6c4f17be10>>
          └ <fastapi.routing.APIRouter object at 0x7f6c4f17be10>
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 735, in app
    await route.handle(scope, receive, send)
          │     │      │      │        └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7f6c1c5e7d80>
          │     │      │      └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f6c1c58b2e0>
          │     │      └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.0', 'server': ('172.18.0.2', 8080), 'c...
          │     └ <function Route.handle at 0x7f6c83607240>
          └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 288, in handle
    await self.app(scope, receive, send)
          │    │   │      │        └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7f6c1c5e7d80>
          │    │   │      └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f6c1c58b2e0>
          │    │   └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.0', 'server': ('172.18.0.2', 8080), 'c...
          │    └ <function request_response.<locals>.app at 0x7f6c248113a0>
          └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 76, in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
          │                            │    │        │      │        └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7f6c1c5e7d80>
          │                            │    │        │      └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f6c1c58b2e0>
          │                            │    │        └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.0', 'server': ('172.18.0.2', 8080), 'c...
          │                            │    └ <starlette.requests.Request object at 0x7f6c2469d7d0>
          │                            └ <function request_response.<locals>.app.<locals>.app at 0x7f6c1c5e6a20>
          └ <function wrap_app_handling_exceptions at 0x7f6c83605bc0>
  File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
    await app(scope, receive, sender)
          │   │      │        └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7f6c1c5e5760>
          │   │      └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f6c1c58b2e0>
          │   └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.0', 'server': ('172.18.0.2', 8080), 'c...
          └ <function request_response.<locals>.app.<locals>.app at 0x7f6c1c5e6a20>
  File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 73, in app
    response = await f(request)
                     │ └ <starlette.requests.Request object at 0x7f6c2469d7d0>
                     └ <function get_request_handler.<locals>.app at 0x7f6c24811260>
  File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 301, in app
    raw_response = await run_endpoint_function(
                         └ <function run_endpoint_function at 0x7f6c8359d080>
  File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 212, in run_endpoint_function
    return await dependant.call(**values)
                 │         │      └ {'user': UserModel(id='f8e19106-678a-4324-af0c-c082492a299a', name='Forname Lastname', email='forname.lastname@HIDDEN.de', r...
                 │         └ <function chat_completion at 0x7f6c248111c0>
                 └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[ModelField(field_info=Body(Pydant...

  File "/app/backend/open_webui/main.py", line 1426, in chat_completion
    response = await chat_completion_handler(request, form_data, user)
                     │                       │        │          └ UserModel(id='f8e19106-678a-4324-af0c-c082492a299a', name='Forname Lastname', email='forname.lastname@HIDDEN.de', role='admi...
                     │                       │        └ {'stream': True, 'model': 'o3-pro', 'messages': [{'role': 'user', 'content': 'Gib mir Informationen über Angela Merkel'}], 'm...
                     │                       └ <starlette.requests.Request object at 0x7f6c2469d7d0>
                     └ <function generate_chat_completion at 0x7f6c52762b60>

  File "/app/backend/open_webui/utils/chat.py", line 278, in generate_chat_completion
    return await generate_openai_chat_completion(
                 └ <function generate_chat_completion at 0x7f6c526fc180>

> File "/app/backend/open_webui/routers/openai.py", line 884, in generate_chat_completion
    r.raise_for_status()
    │ └ <function ClientResponse.raise_for_status at 0x7f6c83f1d760>
    └ <ClientResponse(https://api.openai.com/v1/chat/completions) [404 Not Found]>
      <CIMultiDictProxy('Date': 'Thu, 07 Aug 2025 07:4...

  File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 1161, in raise_for_status
    raise ClientResponseError(
          └ <class 'aiohttp.client_exceptions.ClientResponseError'>

aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url='https://api.openai.com/v1/chat/completions'
2025-08-07 07:47:09.634 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 172.20.129.63:0 - "POST /api/chat/completions HTTP/1.0" 400 - {}

Additional Information

No response

Originally created by @zenobios on GitHub (Aug 7, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/16346 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version v0.6.18 ### Ollama Version (if applicable) _No response_ ### Operating System Ubuntu 22.04.5 LTS ### Browser (if applicable) Brave 1.80.25 ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior Using the o3-pro ChatGPT model works as desired. ### Actual Behavior Using the ChatGPT o3-pro model yields the error message <img width="1018" height="148" alt="Image" src="https://github.com/user-attachments/assets/c87c3771-02c1-4302-9cd0-97381a47a7e8" /> Any recommendations? ### Steps to Reproduce 1. Choose ChatGPT model "o3-pro" 2. Enter a prompt 3. Execute ### Logs & Screenshots Docker logs: ``` 2025-08-07 07:47:09.619 | ERROR | open_webui.routers.openai:generate_chat_completion:887 - 404, message='Not Found', url='https://api.openai.com/v1/chat/completions' - {} Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/local/lib/python3.11/site-packages/uvicorn/__main__.py", line 4, in <module> uvicorn.main() │ └ <Command main> └ <module 'uvicorn' from '/usr/local/lib/python3.11/site-packages/uvicorn/__init__.py'> File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1442, in __call__ return self.main(*args, **kwargs) │ │ │ └ {} │ │ └ () │ └ <function Command.main at 0x7f6c862daac0> └ <Command main> File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1363, in main rv = self.invoke(ctx) │ │ └ <click.core.Context object at 0x7f6c87060c10> │ └ <function Command.invoke at 0x7f6c862da7a0> └ <Command main> File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1226, in invoke return ctx.invoke(self.callback, **ctx.params) │ │ │ │ │ └ {'host': '0.0.0.0', 'port': 8080, 'forwarded_allow_ips': '*', 'workers': 1, 'app': 'open_webui.main:app', 'uds': None, 'fd': ... │ │ │ │ └ <click.core.Context object at 0x7f6c87060c10> │ │ │ └ <function main at 0x7f6c85f94fe0> │ │ └ <Command main> │ └ <function Context.invoke at 0x7f6c862d99e0> └ <click.core.Context object at 0x7f6c87060c10> File "/usr/local/lib/python3.11/site-packages/click/core.py", line 794, in invoke return callback(*args, **kwargs) │ │ └ {'host': '0.0.0.0', 'port': 8080, 'forwarded_allow_ips': '*', 'workers': 1, 'app': 'open_webui.main:app', 'uds': None, 'fd': ... │ └ () └ <function main at 0x7f6c85f94fe0> File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 413, in main run( └ <function run at 0x7f6c863b7b00> File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 580, in run server.run() │ └ <function Server.run at 0x7f6c86240c20> └ <uvicorn.server.Server object at 0x7f6c86d6bdd0> File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 67, in run return asyncio.run(self.serve(sockets=sockets)) │ │ │ │ └ None │ │ │ └ <function Server.serve at 0x7f6c86240cc0> │ │ └ <uvicorn.server.Server object at 0x7f6c86d6bdd0> │ └ <function run at 0x7f6c8670d440> └ <module 'asyncio' from '/usr/local/lib/python3.11/asyncio/__init__.py'> File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run return runner.run(main) │ │ └ <coroutine object Server.serve at 0x7f6c85f588b0> │ └ <function Runner.run at 0x7f6c86580fe0> └ <asyncio.runners.Runner object at 0x7f6c85f9b110> File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) │ │ │ └ <Task pending name='Task-1' coro=<Server.serve() running at /usr/local/lib/python3.11/site-packages/uvicorn/server.py:71> wai... │ │ └ <cyfunction Loop.run_until_complete at 0x7f6c85f7f2a0> │ └ <uvloop.Loop running=True closed=False debug=False> └ <asyncio.runners.Runner object at 0x7f6c85f9b110> File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 141, in coro await self.app(scope, receive_or_disconnect, send_no_error) │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x7f6c1c589080> │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f6c1c58b2e0> │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.0', 'server': ('172.18.0.2', 8080), 'c... │ └ <starlette_compress.CompressMiddleware object at 0x7f6c85fc9120> └ <open_webui.main.RedirectMiddleware object at 0x7f6c24917810> File "/usr/local/lib/python3.11/site-packages/starlette_compress/__init__.py", line 92, in __call__ return await self._zstd(scope, receive, send) │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x7f6c1c589080> │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f6c1c58b2e0> │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.0', 'server': ('172.18.0.2', 8080), 'c... │ └ <member '_zstd' of 'CompressMiddleware' objects> └ <starlette_compress.CompressMiddleware object at 0x7f6c85fc9120> File "/usr/local/lib/python3.11/site-packages/starlette_compress/_zstd_legacy.py", line 100, in __call__ await self.app(scope, receive, wrapper) │ │ │ │ └ <function ZstdResponder.__call__.<locals>.wrapper at 0x7f6c1c209760> │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f6c1c58b2e0> │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.0', 'server': ('172.18.0.2', 8080), 'c... │ └ <member 'app' of 'ZstdResponder' objects> └ <starlette_compress._zstd_legacy.ZstdResponder object at 0x7f6c24b8f480> File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 62, in __call__ await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send) │ │ │ │ │ │ └ <function ZstdResponder.__call__.<locals>.wrapper at 0x7f6c1c209760> │ │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f6c1c58b2e0> │ │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.0', 'server': ('172.18.0.2', 8080), 'c... │ │ │ └ <starlette.requests.Request object at 0x7f6c1c7a5610> │ │ └ <fastapi.routing.APIRouter object at 0x7f6c4f17be10> │ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7f6c25010ad0> └ <function wrap_app_handling_exceptions at 0x7f6c83605bc0> File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7f6c1c5e7d80> │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f6c1c58b2e0> │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.0', 'server': ('172.18.0.2', 8080), 'c... └ <fastapi.routing.APIRouter object at 0x7f6c4f17be10> File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 715, in __call__ await self.middleware_stack(scope, receive, send) │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7f6c1c5e7d80> │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f6c1c58b2e0> │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.0', 'server': ('172.18.0.2', 8080), 'c... │ └ <bound method Router.app of <fastapi.routing.APIRouter object at 0x7f6c4f17be10>> └ <fastapi.routing.APIRouter object at 0x7f6c4f17be10> File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 735, in app await route.handle(scope, receive, send) │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7f6c1c5e7d80> │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f6c1c58b2e0> │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.0', 'server': ('172.18.0.2', 8080), 'c... │ └ <function Route.handle at 0x7f6c83607240> └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST']) File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 288, in handle await self.app(scope, receive, send) │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7f6c1c5e7d80> │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f6c1c58b2e0> │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.0', 'server': ('172.18.0.2', 8080), 'c... │ └ <function request_response.<locals>.app at 0x7f6c248113a0> └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST']) File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 76, in app await wrap_app_handling_exceptions(app, request)(scope, receive, send) │ │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7f6c1c5e7d80> │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f6c1c58b2e0> │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.0', 'server': ('172.18.0.2', 8080), 'c... │ │ └ <starlette.requests.Request object at 0x7f6c2469d7d0> │ └ <function request_response.<locals>.app.<locals>.app at 0x7f6c1c5e6a20> └ <function wrap_app_handling_exceptions at 0x7f6c83605bc0> File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app await app(scope, receive, sender) │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7f6c1c5e5760> │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7f6c1c58b2e0> │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.0', 'server': ('172.18.0.2', 8080), 'c... └ <function request_response.<locals>.app.<locals>.app at 0x7f6c1c5e6a20> File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 73, in app response = await f(request) │ └ <starlette.requests.Request object at 0x7f6c2469d7d0> └ <function get_request_handler.<locals>.app at 0x7f6c24811260> File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 301, in app raw_response = await run_endpoint_function( └ <function run_endpoint_function at 0x7f6c8359d080> File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 212, in run_endpoint_function return await dependant.call(**values) │ │ └ {'user': UserModel(id='f8e19106-678a-4324-af0c-c082492a299a', name='Forname Lastname', email='forname.lastname@HIDDEN.de', r... │ └ <function chat_completion at 0x7f6c248111c0> └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[ModelField(field_info=Body(Pydant... File "/app/backend/open_webui/main.py", line 1426, in chat_completion response = await chat_completion_handler(request, form_data, user) │ │ │ └ UserModel(id='f8e19106-678a-4324-af0c-c082492a299a', name='Forname Lastname', email='forname.lastname@HIDDEN.de', role='admi... │ │ └ {'stream': True, 'model': 'o3-pro', 'messages': [{'role': 'user', 'content': 'Gib mir Informationen über Angela Merkel'}], 'm... │ └ <starlette.requests.Request object at 0x7f6c2469d7d0> └ <function generate_chat_completion at 0x7f6c52762b60> File "/app/backend/open_webui/utils/chat.py", line 278, in generate_chat_completion return await generate_openai_chat_completion( └ <function generate_chat_completion at 0x7f6c526fc180> > File "/app/backend/open_webui/routers/openai.py", line 884, in generate_chat_completion r.raise_for_status() │ └ <function ClientResponse.raise_for_status at 0x7f6c83f1d760> └ <ClientResponse(https://api.openai.com/v1/chat/completions) [404 Not Found]> <CIMultiDictProxy('Date': 'Thu, 07 Aug 2025 07:4... File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 1161, in raise_for_status raise ClientResponseError( └ <class 'aiohttp.client_exceptions.ClientResponseError'> aiohttp.client_exceptions.ClientResponseError: 404, message='Not Found', url='https://api.openai.com/v1/chat/completions' 2025-08-07 07:47:09.634 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 172.20.129.63:0 - "POST /api/chat/completions HTTP/1.0" 400 - {} ``` ### Additional Information _No response_
GiteaMirror added the bug label 2026-05-25 07:50:07 -05:00
Author
Owner

@kabachuha commented on GitHub (Aug 7, 2025):

It probably requires the new Harmony API format from OpenAI https://github.com/openai/harmony

<!-- gh-comment-id:3163642529 --> @kabachuha commented on GitHub (Aug 7, 2025): It probably requires the new Harmony API format from OpenAI https://github.com/openai/harmony
Author
Owner

@samuelh2005 commented on GitHub (Aug 7, 2025):

It probably requires the new Harmony API format from OpenAI https://github.com/openai/harmony

I can use my own local gpt-oss instance which uses that format just fine.

<!-- gh-comment-id:3164790424 --> @samuelh2005 commented on GitHub (Aug 7, 2025): > It probably requires the new Harmony API format from OpenAI https://github.com/openai/harmony I can use my own local gpt-oss instance which uses that format just fine.
Author
Owner

@tjbck commented on GitHub (Aug 7, 2025):

o3-pro requires responses api.

<!-- gh-comment-id:3164946408 --> @tjbck commented on GitHub (Aug 7, 2025): o3-pro requires responses api.
Author
Owner

@zenobios commented on GitHub (Aug 7, 2025):

@tjbck thanks for the response.

And what does that mean? Integration of the responses API is not planned or is not possible or.. ?

Just closing the issue without proper explanation is - let‘s say - not that good.

<!-- gh-comment-id:3165487246 --> @zenobios commented on GitHub (Aug 7, 2025): @tjbck thanks for the response. And what does that mean? Integration of the responses API is not planned or is not possible or.. ? Just closing the issue without proper explanation is - let‘s say - not that good.
Author
Owner

@rgaricano commented on GitHub (Aug 7, 2025):

that mean that isn't an issue,

did you try with a pipe for that model: https://openwebui.com/f/karanb192/o3pro_o1pro_support ?

<!-- gh-comment-id:3166049723 --> @rgaricano commented on GitHub (Aug 7, 2025): that mean that isn't an issue, did you try with a pipe for that model: https://openwebui.com/f/karanb192/o3pro_o1pro_support ?
Author
Owner

@zenobios commented on GitHub (Aug 8, 2025):

that mean that isn't and issue,

did you try with a pipe for that model: https://openwebui.com/f/karanb192/o3pro_o1pro_support ?

@rgaricano That worked, thank you very much!

<!-- gh-comment-id:3167166932 --> @zenobios commented on GitHub (Aug 8, 2025): > that mean that isn't and issue, > > did you try with a pipe for that model: https://openwebui.com/f/karanb192/o3pro_o1pro_support ? @rgaricano That worked, thank you very much!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#137595