mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-07 01:10:35 -05:00
[GH-ISSUE #18314] issue: 400: "bge-m3:latest" does not support chat #18559
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zhlgx on GitHub (Oct 14, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/18314
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
v0.6.33
Ollama Version (if applicable)
0.12.5
Operating System
windows11
Browser (if applicable)
egde
Confirmation
README.md.Expected Behavior
在模型中编辑,给模型换上头像后,再到聊天,会出现混乱!
400: "bge-m3:latest" does not support chat
Actual Behavior
在模型中编辑,给模型换上头像后,再到聊天,会出现混乱!
400: "bge-m3:latest" does not support chat
Steps to Reproduce
1、windows11安装;
2、open-webui+ollama;
3、本地部署
Logs & Screenshots
File "N:\openollama0.63\zhlgx\Scripts\open-webui.exe_main_.py", line 6, in
sys.exit(app())
│ │ └ <typer.main.Typer object at 0x00000217C0658770>
│ └
└ <module 'sys' (built-in)>
File "N:\openollama0.63\zhlgx\Lib\site-packages\typer\main.py", line 308, in call
return get_command(self)(*args, **kwargs)
│ │ │ └ {}
│ │ └ ()
│ └ <typer.main.Typer object at 0x00000217C0658770>
└ <function get_command at 0x00000217C2427740>
File "N:\openollama0.63\zhlgx\Lib\site-packages\click\core.py", line 1462, in call
return self.main(*args, **kwargs)
│ │ │ └ {}
│ │ └ ()
│ └ <function TyperGroup.main at 0x00000217C24272E0>
└
File "N:\openollama0.63\zhlgx\Lib\site-packages\typer\core.py", line 784, in main
return _main(
└ <function _main at 0x00000217C24260C0>
File "N:\openollama0.63\zhlgx\Lib\site-packages\typer\core.py", line 192, in _main
rv = self.invoke(ctx)
│ │ └ <click.core.Context object at 0x00000217C29F7500>
│ └ <function Group.invoke at 0x00000217C0BA5BC0>
└
File "N:\openollama0.63\zhlgx\Lib\site-packages\click\core.py", line 1850, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
│ │ │ │ └ <click.core.Context object at 0x00000217C05EB050>
│ │ │ └ <function Command.invoke at 0x00000217C0BA49A0>
│ │ └
│ └ <click.core.Context object at 0x00000217C05EB050>
└ <function Group.invoke..process_result at 0x00000217C2D03BA0>
File "N:\openollama0.63\zhlgx\Lib\site-packages\click\core.py", line 1246, in invoke
return ctx.invoke(self.callback, **ctx.params)
│ │ │ │ │ └ {'host': '0.0.0.0', 'port': 8080}
│ │ │ │ └ <click.core.Context object at 0x00000217C05EB050>
│ │ │ └ <function serve at 0x00000217C2D02CA0>
│ │ └
│ └ <function Context.invoke at 0x00000217C0BA3BA0>
└ <click.core.Context object at 0x00000217C05EB050>
File "N:\openollama0.63\zhlgx\Lib\site-packages\click\core.py", line 814, in invoke
return callback(*args, **kwargs)
│ │ └ {'host': '0.0.0.0', 'port': 8080}
│ └ ()
└ <function serve at 0x00000217C2D02CA0>
File "N:\openollama0.63\zhlgx\Lib\site-packages\typer\main.py", line 685, in wrapper
return callback(**use_params)
│ └ {'host': '0.0.0.0', 'port': 8080}
└ <function serve at 0x00000217C2BDCE00>
File "N:\openollama0.63\zhlgx\Lib\site-packages\open_webui_init.py", line 78, in serve
uvicorn.run(
│ └ <function run at 0x00000217C2B1E340>
└ <module 'uvicorn' from 'N:\openollama0.63\zhlgx\Lib\site-packages\uvicorn\init.py'>
File "N:\openollama0.63\zhlgx\Lib\site-packages\uvicorn\main.py", line 593, in run
server.run()
│ └ <function Server.run at 0x00000217C2B79F80>
└ <uvicorn.server.Server object at 0x0000021786416BA0>
File "N:\openollama0.63\zhlgx\Lib\site-packages\uvicorn\server.py", line 67, in run
return asyncio_run(self.serve(sockets=sockets), loop_factory=self.config.get_loop_factory())
│ │ │ │ │ │ └ <function Config.get_loop_factory at 0x00000217C2B1E020>
│ │ │ │ │ └ <uvicorn.config.Config object at 0x00000217C2D202C0>
│ │ │ │ └ <uvicorn.server.Server object at 0x0000021786416BA0>
│ │ │ └ None
│ │ └ <function Server.serve at 0x00000217C2B7A020>
│ └ <uvicorn.server.Server object at 0x0000021786416BA0>
└ <function run at 0x00000217C0390680>
File "N:\openollama0.63\zhlgx\Lib\asyncio\runners.py", line 195, in run
return runner.run(main)
│ │ └ <coroutine object Server.serve at 0x00000217C2CFA500>
│ └ <function Runner.run at 0x00000217C29D4D60>
└ <asyncio.runners.Runner object at 0x00000217866A1730>
File "N:\openollama0.63\zhlgx\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
│ │ │ └ <Task pending name='Task-1' coro=<Server.serve() running at N:\openollama0.63\zhlgx\Lib\site-packages\uvicorn\server.py:71> w...
│ │ └ <function BaseEventLoop.run_until_complete at 0x00000217C29D28E0>
│ └
└ <asyncio.runners.Runner object at 0x00000217866A1730>
File "N:\openollama0.63\zhlgx\Lib\asyncio\base_events.py", line 678, in run_until_complete
self.run_forever()
│ └ <function ProactorEventLoop.run_forever at 0x00000217C2A4AAC0>
└
File "N:\openollama0.63\zhlgx\Lib\asyncio\windows_events.py", line 322, in run_forever
super().run_forever()
File "N:\openollama0.63\zhlgx\Lib\asyncio\base_events.py", line 645, in run_forever
self._run_once()
│ └ <function BaseEventLoop._run_once at 0x00000217C29D4680>
└
File "N:\openollama0.63\zhlgx\Lib\asyncio\base_events.py", line 1999, in _run_once
handle._run()
│ └ <function Handle._run at 0x00000217C2960B80>
└ <Handle Task.task_wakeup( result=None>)>
File "N:\openollama0.63\zhlgx\Lib\asyncio\events.py", line 88, in _run
self._context.run(self._callback, *self._args)
│ │ │ │ │ └ <member '_args' of 'Handle' objects>
│ │ │ │ └ <Handle Task.task_wakeup( result=None>)>
│ │ │ └ <member '_callback' of 'Handle' objects>
│ │ └ <Handle Task.task_wakeup( result=None>)>
│ └ <member 'context' of 'Handle' objects>
└ <Handle Task.task_wakeup( result=None>)>
File "N:\openollama0.63\zhlgx\Lib\site-packages\starlette\middleware\base.py", line 144, in coro
await self.app(scope, receive_or_disconnect, send_no_error)
│ │ │ │ └ <function BaseHTTPMiddleware.call..call_next..send_no_error at 0x0000021786E06020>
│ │ │ └ <function BaseHTTPMiddleware.call..call_next..receive_or_disconnect at 0x0000021786E047C0>
│ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('127.0.0.1', 8080), 'cl...
│ └ <starlette_compress.CompressMiddleware object at 0x0000021786893CE0>
└ <open_webui.main.RedirectMiddleware object at 0x000002178688EED0>
File "N:\openollama0.63\zhlgx\Lib\site-packages\starlette_compress_init.py", line 92, in call
return await self._zstd(scope, receive, send)
│ │ │ │ └ <function BaseHTTPMiddleware.call..call_next..send_no_error at 0x0000021786E06020>
│ │ │ └ <function BaseHTTPMiddleware.call..call_next..receive_or_disconnect at 0x0000021786E047C0>
│ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('127.0.0.1', 8080), 'cl...
│ └ <member '_zstd' of 'CompressMiddleware' objects>
└ <starlette_compress.CompressMiddleware object at 0x0000021786893CE0>
File "N:\openollama0.63\zhlgx\Lib\site-packages\starlette_compress_zstd_legacy.py", line 100, in call
await self.app(scope, receive, wrapper)
│ │ │ │ └ <function ZstdResponder.call..wrapper at 0x0000021786E072E0>
│ │ │ └ <function BaseHTTPMiddleware.call..call_next..receive_or_disconnect at 0x0000021786E047C0>
│ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('127.0.0.1', 8080), 'cl...
│ └ <member 'app' of 'ZstdResponder' objects>
└ <starlette_compress._zstd_legacy.ZstdResponder object at 0x00000217862984C0>
File "N:\openollama0.63\zhlgx\Lib\site-packages\starlette\middleware\exceptions.py", line 63, in call
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
│ │ │ │ │ │ └ <function ZstdResponder.call..wrapper at 0x0000021786E072E0>
│ │ │ │ │ └ <function BaseHTTPMiddleware.call..call_next..receive_or_disconnect at 0x0000021786E047C0>
│ │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('127.0.0.1', 8080), 'cl...
│ │ │ └ <starlette.requests.Request object at 0x0000021786E5E930>
│ │ └ <fastapi.middleware.asyncexitstack.AsyncExitStackMiddleware object at 0x00000217864B0C80>
│ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x0000021786608DD0>
└ <function wrap_app_handling_exceptions at 0x00000217C5E371A0>
File "N:\openollama0.63\zhlgx\Lib\site-packages\starlette_exception_handler.py", line 42, in wrapped_app
await app(scope, receive, sender)
│ │ │ └ <function wrap_app_handling_exceptions..wrapped_app..sender at 0x0000021786E04D60>
│ │ └ <function BaseHTTPMiddleware.call..call_next..receive_or_disconnect at 0x0000021786E047C0>
│ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('127.0.0.1', 8080), 'cl...
└ <fastapi.middleware.asyncexitstack.AsyncExitStackMiddleware object at 0x00000217864B0C80>
File "N:\openollama0.63\zhlgx\Lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in call
await self.app(scope, receive, send)
│ │ │ │ └ <function wrap_app_handling_exceptions..wrapped_app..sender at 0x0000021786E04D60>
│ │ │ └ <function BaseHTTPMiddleware.call..call_next..receive_or_disconnect at 0x0000021786E047C0>
│ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('127.0.0.1', 8080), 'cl...
│ └ <fastapi.routing.APIRouter object at 0x0000021786416960>
└ <fastapi.middleware.asyncexitstack.AsyncExitStackMiddleware object at 0x00000217864B0C80>
File "N:\openollama0.63\zhlgx\Lib\site-packages\starlette\routing.py", line 716, in call
await self.middleware_stack(scope, receive, send)
│ │ │ │ └ <function wrap_app_handling_exceptions..wrapped_app..sender at 0x0000021786E04D60>
│ │ │ └ <function BaseHTTPMiddleware.call..call_next..receive_or_disconnect at 0x0000021786E047C0>
│ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('127.0.0.1', 8080), 'cl...
│ └ <bound method Router.app of <fastapi.routing.APIRouter object at 0x0000021786416960>>
└ <fastapi.routing.APIRouter object at 0x0000021786416960>
File "N:\openollama0.63\zhlgx\Lib\site-packages\starlette\routing.py", line 736, in app
await route.handle(scope, receive, send)
│ │ │ │ └ <function wrap_app_handling_exceptions..wrapped_app..sender at 0x0000021786E04D60>
│ │ │ └ <function BaseHTTPMiddleware.call..call_next..receive_or_disconnect at 0x0000021786E047C0>
│ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('127.0.0.1', 8080), 'cl...
│ └ <function Route.handle at 0x00000217C5E6C680>
└ APIRoute(path='/openai/models/{url_idx}', name='get_models', methods=['GET'])
File "N:\openollama0.63\zhlgx\Lib\site-packages\starlette\routing.py", line 290, in handle
await self.app(scope, receive, send)
│ │ │ │ └ <function wrap_app_handling_exceptions..wrapped_app..sender at 0x0000021786E04D60>
│ │ │ └ <function BaseHTTPMiddleware.call..call_next..receive_or_disconnect at 0x0000021786E047C0>
│ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('127.0.0.1', 8080), 'cl...
│ └ <function request_response..app at 0x00000217864858A0>
└ APIRoute(path='/openai/models/{url_idx}', name='get_models', methods=['GET'])
File "N:\openollama0.63\zhlgx\Lib\site-packages\fastapi\routing.py", line 123, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
│ │ │ │ │ └ <function wrap_app_handling_exceptions..wrapped_app..sender at 0x0000021786E04D60>
│ │ │ │ └ <function BaseHTTPMiddleware.call..call_next..receive_or_disconnect at 0x0000021786E047C0>
│ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('127.0.0.1', 8080), 'cl...
│ │ └ <starlette.requests.Request object at 0x0000021786E5EEA0>
│ └ <function request_response..app..app at 0x0000021786E062A0>
└ <function wrap_app_handling_exceptions at 0x00000217C5E371A0>
File "N:\openollama0.63\zhlgx\Lib\site-packages\starlette_exception_handler.py", line 42, in wrapped_app
await app(scope, receive, sender)
│ │ │ └ <function wrap_app_handling_exceptions..wrapped_app..sender at 0x0000021786E07E20>
│ │ └ <function BaseHTTPMiddleware.call..call_next..receive_or_disconnect at 0x0000021786E047C0>
│ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('127.0.0.1', 8080), 'cl...
└ <function request_response..app..app at 0x0000021786E062A0>
File "N:\openollama0.63\zhlgx\Lib\site-packages\fastapi\routing.py", line 109, in app
response = await f(request)
│ └ <starlette.requests.Request object at 0x0000021786E5EEA0>
└ <function get_request_handler..app at 0x0000021786485800>
File "N:\openollama0.63\zhlgx\Lib\site-packages\fastapi\routing.py", line 387, in app
raw_response = await run_endpoint_function(
└ <function run_endpoint_function at 0x00000217C5E6E520>
File "N:\openollama0.63\zhlgx\Lib\site-packages\fastapi\routing.py", line 288, in run_endpoint_function
return await dependant.call(**values)
│ │ └ {'user': UserModel(id='242311a2-6028-4150-8dcb-df2e462404ae', name='zhlgx', email='gxtab@126.com', username=None, role='admin...
│ └ <function get_models at 0x0000021783DDDA80>
└ Dependant(path_params=[ModelField(field_info=Path(PydanticUndefined), name='url_idx', mode='validation')], query_params=[], h...
TimeoutError
2025-10-14 10:58:58.590 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:61140 - "GET /openai/models/0 HTTP/1.1" 500
2025-10-14 10:59:00.385 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:61140 - "GET /api/v1/tools/ HTTP/1.1" 200
2025-10-14 10:59:00.421 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:61140 - "GET /api/v1/functions/ HTTP/1.1" 200
2025-10-14 10:59:00.506 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:61140 - "GET /api/v1/kno
Additional Information
No response
@silentoplayz commented on GitHub (Oct 14, 2025):
bge-m3:latestis an embeddings model, not a large language model. User error.