Skip to content

Instantly share code, notes, and snippets.

@luochen1990
Created September 6, 2024 04:53
Show Gist options
  • Save luochen1990/b57bee523dd43f943287a9df507d05c0 to your computer and use it in GitHub Desktop.
Save luochen1990/b57bee523dd43f943287a9df507d05c0 to your computer and use it in GitHub Desktop.
open-webui error report
INFO: 10.40.10.1:0 - "POST /api/chat/completed HTTP/1.0" 500 Internal Server Error
ERROR: Exception in ASGI application
+ Exception Group Traceback (most recent call last):
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/_utils.py", line 87, in collapse_excgroups
| yield
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 190, in __call__
| async with anyio.create_task_group() as task_group:
| File "/nix/store/3vg8ys3dm90a5bi692x3f2hza11b670d-python3.12-anyio-4.3.0/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 678, in __aexit__
| raise BaseExceptionGroup(
| ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
+-+---------------- 1 ----------------
| Traceback (most recent call last):
| File "/nix/store/h1fjjrgl0mbl870im15wl0pmspqs6zkl-python3.12-uvicorn-0.29.0/lib/python3.12/site-packages/uvicorn/protocols/http/h11_impl.py", line 407, in run_asgi
| result = await app( # type: ignore[func-returns-value]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/nix/store/h1fjjrgl0mbl870im15wl0pmspqs6zkl-python3.12-uvicorn-0.29.0/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py", line 69, in __call__
| return await self.app(scope, receive, send)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/nix/store/d19hqjhp0r4l8zssw2bhiiy6q913rpg1-python3.12-fastapi-0.111.0/lib/python3.12/site-packages/fastapi/applications.py", line 1054, in __call__
| await super().__call__(scope, receive, send)
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/applications.py", line 123, in __call__
| await self.middleware_stack(scope, receive, send)
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/errors.py", line 186, in __call__
| raise exc
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/errors.py", line 164, in __call__
| await self.app(scope, receive, _send)
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/sessions.py", line 85, in __call__
| await self.app(scope, receive, send_wrapper)
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 189, in __call__
| with collapse_excgroups():
| File "/nix/store/z7xxy35k7620hs6fn6la5fg2lgklv72l-python3-3.12.4/lib/python3.12/contextlib.py", line 158, in __exit__
| self.gen.throw(value)
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/_utils.py", line 93, in collapse_excgroups
| raise exc
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 191, in __call__
| response = await self.dispatch_func(request, call_next)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/nix/store/zz8gyfz05lyl6kyi0m9vf5jb8mly7sw7-open-webui-0.3.10/lib/python3.12/site-packages/main.py", line 915, in update_embedding_function
| response = await call_next(request)
| ^^^^^^^^^^^^^^^^^^^^^^^^
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 165, in call_next
| raise app_exc
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 151, in coro
| await self.app(scope, receive_or_disconnect, send_no_error)
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 189, in __call__
| with collapse_excgroups():
| File "/nix/store/z7xxy35k7620hs6fn6la5fg2lgklv72l-python3-3.12.4/lib/python3.12/contextlib.py", line 158, in __exit__
| self.gen.throw(value)
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/_utils.py", line 93, in collapse_excgroups
| raise exc
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 191, in __call__
| response = await self.dispatch_func(request, call_next)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/nix/store/zz8gyfz05lyl6kyi0m9vf5jb8mly7sw7-open-webui-0.3.10/lib/python3.12/site-packages/main.py", line 906, in check_url
| response = await call_next(request)
| ^^^^^^^^^^^^^^^^^^^^^^^^
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 165, in call_next
| raise app_exc
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 151, in coro
| await self.app(scope, receive_or_disconnect, send_no_error)
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 189, in __call__
| with collapse_excgroups():
| File "/nix/store/z7xxy35k7620hs6fn6la5fg2lgklv72l-python3-3.12.4/lib/python3.12/contextlib.py", line 158, in __exit__
| self.gen.throw(value)
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/_utils.py", line 93, in collapse_excgroups
| raise exc
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 191, in __call__
| response = await self.dispatch_func(request, call_next)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/nix/store/zz8gyfz05lyl6kyi0m9vf5jb8mly7sw7-open-webui-0.3.10/lib/python3.12/site-packages/main.py", line 892, in commit_session_after_request
| response = await call_next(request)
| ^^^^^^^^^^^^^^^^^^^^^^^^
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 165, in call_next
| raise app_exc
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 151, in coro
| await self.app(scope, receive_or_disconnect, send_no_error)
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/cors.py", line 93, in __call__
| await self.simple_response(scope, receive, send, request_headers=headers)
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/cors.py", line 148, in simple_response
| await self.app(scope, receive, send)
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 189, in __call__
| with collapse_excgroups():
| File "/nix/store/z7xxy35k7620hs6fn6la5fg2lgklv72l-python3-3.12.4/lib/python3.12/contextlib.py", line 158, in __exit__
| self.gen.throw(value)
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/_utils.py", line 93, in collapse_excgroups
| raise exc
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 191, in __call__
| response = await self.dispatch_func(request, call_next)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/nix/store/zz8gyfz05lyl6kyi0m9vf5jb8mly7sw7-open-webui-0.3.10/lib/python3.12/site-packages/main.py", line 871, in dispatch
| response = await call_next(request)
| ^^^^^^^^^^^^^^^^^^^^^^^^
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 165, in call_next
| raise app_exc
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 151, in coro
| await self.app(scope, receive_or_disconnect, send_no_error)
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 189, in __call__
| with collapse_excgroups():
| File "/nix/store/z7xxy35k7620hs6fn6la5fg2lgklv72l-python3-3.12.4/lib/python3.12/contextlib.py", line 158, in __exit__
| self.gen.throw(value)
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/_utils.py", line 93, in collapse_excgroups
| raise exc
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 191, in __call__
| response = await self.dispatch_func(request, call_next)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/nix/store/zz8gyfz05lyl6kyi0m9vf5jb8mly7sw7-open-webui-0.3.10/lib/python3.12/site-packages/main.py", line 738, in dispatch
| response = await call_next(request)
| ^^^^^^^^^^^^^^^^^^^^^^^^
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 165, in call_next
| raise app_exc
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 151, in coro
| await self.app(scope, receive_or_disconnect, send_no_error)
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 65, in __call__
| await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
| raise exc
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
| await app(scope, receive, sender)
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/routing.py", line 756, in __call__
| await self.middleware_stack(scope, receive, send)
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/routing.py", line 776, in app
| await route.handle(scope, receive, send)
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/routing.py", line 297, in handle
| await self.app(scope, receive, send)
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/routing.py", line 77, in app
| await wrap_app_handling_exceptions(app, request)(scope, receive, send)
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
| raise exc
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
| await app(scope, receive, sender)
| File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/routing.py", line 72, in app
| response = await func(request)
| ^^^^^^^^^^^^^^^^^^^
| File "/nix/store/d19hqjhp0r4l8zssw2bhiiy6q913rpg1-python3.12-fastapi-0.111.0/lib/python3.12/site-packages/fastapi/routing.py", line 278, in app
| raw_response = await run_endpoint_function(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/nix/store/d19hqjhp0r4l8zssw2bhiiy6q913rpg1-python3.12-fastapi-0.111.0/lib/python3.12/site-packages/fastapi/routing.py", line 191, in run_endpoint_function
| return await dependant.call(**values)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| File "/nix/store/zz8gyfz05lyl6kyi0m9vf5jb8mly7sw7-open-webui-0.3.10/lib/python3.12/site-packages/main.py", line 1178, in chat_completed
| "session_id": data["session_id"],
| ~~~~^^^^^^^^^^^^^^
| KeyError: 'session_id'
+------------------------------------
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/nix/store/h1fjjrgl0mbl870im15wl0pmspqs6zkl-python3.12-uvicorn-0.29.0/lib/python3.12/site-packages/uvicorn/protocols/http/h11_impl.py", line 407, in run_asgi
result = await app( # type: ignore[func-returns-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/h1fjjrgl0mbl870im15wl0pmspqs6zkl-python3.12-uvicorn-0.29.0/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py", line 69, in __call__
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/d19hqjhp0r4l8zssw2bhiiy6q913rpg1-python3.12-fastapi-0.111.0/lib/python3.12/site-packages/fastapi/applications.py", line 1054, in __call__
await super().__call__(scope, receive, send)
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/applications.py", line 123, in __call__
await self.middleware_stack(scope, receive, send)
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/errors.py", line 186, in __call__
raise exc
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/errors.py", line 164, in __call__
await self.app(scope, receive, _send)
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/sessions.py", line 85, in __call__
await self.app(scope, receive, send_wrapper)
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 189, in __call__
with collapse_excgroups():
File "/nix/store/z7xxy35k7620hs6fn6la5fg2lgklv72l-python3-3.12.4/lib/python3.12/contextlib.py", line 158, in __exit__
self.gen.throw(value)
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/_utils.py", line 93, in collapse_excgroups
raise exc
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 191, in __call__
response = await self.dispatch_func(request, call_next)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/zz8gyfz05lyl6kyi0m9vf5jb8mly7sw7-open-webui-0.3.10/lib/python3.12/site-packages/main.py", line 915, in update_embedding_function
response = await call_next(request)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 165, in call_next
raise app_exc
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 151, in coro
await self.app(scope, receive_or_disconnect, send_no_error)
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 189, in __call__
with collapse_excgroups():
File "/nix/store/z7xxy35k7620hs6fn6la5fg2lgklv72l-python3-3.12.4/lib/python3.12/contextlib.py", line 158, in __exit__
self.gen.throw(value)
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/_utils.py", line 93, in collapse_excgroups
raise exc
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 191, in __call__
response = await self.dispatch_func(request, call_next)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/zz8gyfz05lyl6kyi0m9vf5jb8mly7sw7-open-webui-0.3.10/lib/python3.12/site-packages/main.py", line 906, in check_url
response = await call_next(request)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 165, in call_next
raise app_exc
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 151, in coro
await self.app(scope, receive_or_disconnect, send_no_error)
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 189, in __call__
with collapse_excgroups():
File "/nix/store/z7xxy35k7620hs6fn6la5fg2lgklv72l-python3-3.12.4/lib/python3.12/contextlib.py", line 158, in __exit__
self.gen.throw(value)
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/_utils.py", line 93, in collapse_excgroups
raise exc
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 191, in __call__
response = await self.dispatch_func(request, call_next)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/zz8gyfz05lyl6kyi0m9vf5jb8mly7sw7-open-webui-0.3.10/lib/python3.12/site-packages/main.py", line 892, in commit_session_after_request
response = await call_next(request)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 165, in call_next
raise app_exc
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 151, in coro
await self.app(scope, receive_or_disconnect, send_no_error)
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/cors.py", line 93, in __call__
await self.simple_response(scope, receive, send, request_headers=headers)
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/cors.py", line 148, in simple_response
await self.app(scope, receive, send)
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 189, in __call__
with collapse_excgroups():
File "/nix/store/z7xxy35k7620hs6fn6la5fg2lgklv72l-python3-3.12.4/lib/python3.12/contextlib.py", line 158, in __exit__
self.gen.throw(value)
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/_utils.py", line 93, in collapse_excgroups
raise exc
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 191, in __call__
response = await self.dispatch_func(request, call_next)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/zz8gyfz05lyl6kyi0m9vf5jb8mly7sw7-open-webui-0.3.10/lib/python3.12/site-packages/main.py", line 871, in dispatch
response = await call_next(request)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 165, in call_next
raise app_exc
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 151, in coro
await self.app(scope, receive_or_disconnect, send_no_error)
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 189, in __call__
with collapse_excgroups():
File "/nix/store/z7xxy35k7620hs6fn6la5fg2lgklv72l-python3-3.12.4/lib/python3.12/contextlib.py", line 158, in __exit__
self.gen.throw(value)
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/_utils.py", line 93, in collapse_excgroups
raise exc
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 191, in __call__
response = await self.dispatch_func(request, call_next)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/zz8gyfz05lyl6kyi0m9vf5jb8mly7sw7-open-webui-0.3.10/lib/python3.12/site-packages/main.py", line 738, in dispatch
response = await call_next(request)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 165, in call_next
raise app_exc
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/base.py", line 151, in coro
await self.app(scope, receive_or_disconnect, send_no_error)
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 65, in __call__
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
raise exc
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
await app(scope, receive, sender)
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/routing.py", line 756, in __call__
await self.middleware_stack(scope, receive, send)
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/routing.py", line 776, in app
await route.handle(scope, receive, send)
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/routing.py", line 297, in handle
await self.app(scope, receive, send)
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/routing.py", line 77, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
raise exc
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
await app(scope, receive, sender)
File "/nix/store/ivmgz1axqf7i0vr1pbm5r4i0hb01an0h-python3.12-starlette-0.37.2/lib/python3.12/site-packages/starlette/routing.py", line 72, in app
response = await func(request)
^^^^^^^^^^^^^^^^^^^
File "/nix/store/d19hqjhp0r4l8zssw2bhiiy6q913rpg1-python3.12-fastapi-0.111.0/lib/python3.12/site-packages/fastapi/routing.py", line 278, in app
raw_response = await run_endpoint_function(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/d19hqjhp0r4l8zssw2bhiiy6q913rpg1-python3.12-fastapi-0.111.0/lib/python3.12/site-packages/fastapi/routing.py", line 191, in run_endpoint_function
return await dependant.call(**values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/zz8gyfz05lyl6kyi0m9vf5jb8mly7sw7-open-webui-0.3.10/lib/python3.12/site-packages/main.py", line 1178, in chat_completed
"session_id": data["session_id"],
~~~~^^^^^^^^^^^^^^
KeyError: 'session_id'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment