Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2025
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 127.13 KB | None | 0 0
  1. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  2. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <starlette.requests.Request object at 0x7576ab189950>
  3. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
  4. Mar 22 13:24:01 openwebui start.sh[145]: │ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7576acffe190>
  5. Mar 22 13:24:01 openwebui start.sh[145]: └ <function wrap_app_handling_exceptions at 0x7577098662a0>
  6. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
  7. Mar 22 13:24:01 openwebui start.sh[145]: await app(scope, receive, sender)
  8. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  9. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  10. Mar 22 13:24:01 openwebui start.sh[145]: │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  11. Mar 22 13:24:01 openwebui start.sh[145]: └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
  12. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 715, in __call__
  13. Mar 22 13:24:01 openwebui start.sh[145]: await self.middleware_stack(scope, receive, send)
  14. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  15. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  16. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  17. Mar 22 13:24:01 openwebui start.sh[145]: │ └ <bound method Router.app of <fastapi.routing.APIRouter object at 0x7576d5238bd0>>
  18. Mar 22 13:24:01 openwebui start.sh[145]: └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
  19. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 735, in app
  20. Mar 22 13:24:01 openwebui start.sh[145]: await route.handle(scope, receive, send)
  21. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  22. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  23. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  24. Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function Route.handle at 0x757709867880>
  25. Mar 22 13:24:01 openwebui start.sh[145]: └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
  26. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 288, in handle
  27. Mar 22 13:24:01 openwebui start.sh[145]: await self.app(scope, receive, send)
  28. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  29. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  30. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  31. Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function request_response.<locals>.app at 0x7576ac9a9760>
  32. Mar 22 13:24:01 openwebui start.sh[145]: └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
  33. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 76, in app
  34. Mar 22 13:24:01 openwebui start.sh[145]: await wrap_app_handling_exceptions(app, request)(scope, receive, send)
  35. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  36. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  37. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  38. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <starlette.requests.Request object at 0x7576a56ba290>
  39. Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function request_response.<locals>.app.<locals>.app at 0x75769f54e480>
  40. Mar 22 13:24:01 openwebui start.sh[145]: └ <function wrap_app_handling_exceptions at 0x7577098662a0>
  41. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
  42. Mar 22 13:24:01 openwebui start.sh[145]: await app(scope, receive, sender)
  43. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54f060>
  44. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  45. Mar 22 13:24:01 openwebui start.sh[145]: │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  46. Mar 22 13:24:01 openwebui start.sh[145]: └ <function request_response.<locals>.app.<locals>.app at 0x75769f54e480>
  47. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 73, in app
  48. Mar 22 13:24:01 openwebui start.sh[145]: response = await f(request)
  49. Mar 22 13:24:01 openwebui start.sh[145]: │ └ <starlette.requests.Request object at 0x7576a56ba290>
  50. Mar 22 13:24:01 openwebui start.sh[145]: └ <function get_request_handler.<locals>.app at 0x7576ac9a98a0>
  51. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/fastapi/routing.py", line 301, in app
  52. Mar 22 13:24:01 openwebui start.sh[145]: raw_response = await run_endpoint_function(
  53. Mar 22 13:24:01 openwebui start.sh[145]: └ <function run_endpoint_function at 0x7577096a56c0>
  54. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/fastapi/routing.py", line 212, in run_endpoint_function
  55. Mar 22 13:24:01 openwebui start.sh[145]: return await dependant.call(**values)
  56. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ {'user': UserModel(id='<replaced>', name='<replaced>', email='<replaced>', role='admin', ...
  57. Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function chat_completion at 0x7576ac9a9ee0>
  58. Mar 22 13:24:01 openwebui start.sh[145]: └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[ModelField(field_info=Body(Pydant...
  59. Mar 22 13:24:01 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/main.py", line 1043, in chat_completion
  60. Mar 22 13:24:01 openwebui start.sh[145]: form_data, metadata, events = await process_chat_payload(
  61. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <function process_chat_payload at 0x7576d57d8400>
  62. Mar 22 13:24:01 openwebui start.sh[145]: │ └ {'user_id': '<replaced>', 'chat_id': '1caf4a0a-1217-4156-b9aa-5a824d7cee97', 'message_id': '3f2c177...
  63. Mar 22 13:24:01 openwebui start.sh[145]: └ {'stream': True, 'model': 'gpt-4o-mini', 'messages': [{'role': 'system', 'content': 'Du bist ein hilfreicher, informativer un...
  64. Mar 22 13:24:01 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/utils/middleware.py", line 736, in process_chat_payload
  65. Mar 22 13:24:01 openwebui start.sh[145]: form_data = await chat_web_search_handler(
  66. Mar 22 13:24:01 openwebui start.sh[145]: └ <function chat_web_search_handler at 0x7576d57d9580>
  67. Mar 22 13:24:01 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/utils/middleware.py", line 341, in chat_web_search_handler
  68. Mar 22 13:24:01 openwebui start.sh[145]: results = await process_web_search(
  69. Mar 22 13:24:01 openwebui start.sh[145]: └ <function process_web_search at 0x7576d747eca0>
  70. Mar 22 13:24:01 openwebui start.sh[145]: > File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 1464, in process_web_search
  71. Mar 22 13:24:01 openwebui start.sh[145]: await run_in_threadpool(
  72. Mar 22 13:24:01 openwebui start.sh[145]: └ <function run_in_threadpool at 0x757709af4fe0>
  73. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/concurrency.py", line 37, in run_in_threadpool
  74. Mar 22 13:24:01 openwebui start.sh[145]: return await anyio.to_thread.run_sync(func)
  75. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ functools.partial(<function save_docs_to_vector_db at 0x7576d7445620>, <starlette.requests.Request object at 0x7576a56ba290>,...
  76. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <function run_sync at 0x75770c239260>
  77. Mar 22 13:24:01 openwebui start.sh[145]: │ └ <module 'anyio.to_thread' from '/usr/local/lib/python3.11/dist-packages/anyio/to_thread.py'>
  78. Mar 22 13:24:01 openwebui start.sh[145]: └ <module 'anyio' from '/usr/local/lib/python3.11/dist-packages/anyio/__init__.py'>
  79. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/to_thread.py", line 56, in run_sync
  80. Mar 22 13:24:01 openwebui start.sh[145]: return await get_async_backend().run_sync_in_worker_thread(
  81. Mar 22 13:24:01 openwebui start.sh[145]: └ <function get_async_backend at 0x75770c23a8e0>
  82. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 2470, in run_sync_in_worker_thread
  83. Mar 22 13:24:01 openwebui start.sh[145]: return await future
  84. Mar 22 13:24:01 openwebui start.sh[145]: └ <Future finished exception=AttributeError("'NoneType' object has no attribute 'encode'")>
  85. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 967, in run
  86. Mar 22 13:24:01 openwebui start.sh[145]: result = context.run(func, *args)
  87. Mar 22 13:24:01 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 905, in save_docs_to_vector_db
  88. Mar 22 13:24:01 openwebui start.sh[145]: raise e
  89. Mar 22 13:24:01 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 883, in save_docs_to_vector_db
  90. Mar 22 13:24:01 openwebui start.sh[145]: embeddings = embedding_function(
  91. Mar 22 13:24:01 openwebui start.sh[145]: └ <function get_embedding_function.<locals>.<lambda> at 0x7576abc05e40>
  92. Mar 22 13:24:01 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/retrieval/utils.py", line 314, in <lambda>
  93. Mar 22 13:24:01 openwebui start.sh[145]: return lambda query, user=None: embedding_function.encode(query).tolist()
  94. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ ['tagesschau.de - die erste Adresse für Nachrichten und Information | tagesschau.de ...
  95. Mar 22 13:24:01 openwebui start.sh[145]: │ └ None
  96. Mar 22 13:24:01 openwebui start.sh[145]: └ ['tagesschau.de - die erste Adresse für Nachrichten und Information | tagesschau.de ...
  97. Mar 22 13:24:01 openwebui start.sh[145]: AttributeError: 'NoneType' object has no attribute 'encode'
  98. Mar 22 13:24:01 openwebui start.sh[145]: 2025-03-22 13:24:01.244 | ERROR | open_webui.utils.middleware:chat_web_search_handler:376 - 400: [ERROR: 'NoneType' object has no attribute 'encode'] - {}
  99. Mar 22 13:24:01 openwebui start.sh[145]: Traceback (most recent call last):
  100. Mar 22 13:24:01 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 1464, in process_web_search
  101. Mar 22 13:24:01 openwebui start.sh[145]: await run_in_threadpool(
  102. Mar 22 13:24:01 openwebui start.sh[145]: └ <function run_in_threadpool at 0x757709af4fe0>
  103. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/concurrency.py", line 37, in run_in_threadpool
  104. Mar 22 13:24:01 openwebui start.sh[145]: return await anyio.to_thread.run_sync(func)
  105. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ functools.partial(<function save_docs_to_vector_db at 0x7576d7445620>, <starlette.requests.Request object at 0x7576a56ba290>,...
  106. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <function run_sync at 0x75770c239260>
  107. Mar 22 13:24:01 openwebui start.sh[145]: │ └ <module 'anyio.to_thread' from '/usr/local/lib/python3.11/dist-packages/anyio/to_thread.py'>
  108. Mar 22 13:24:01 openwebui start.sh[145]: └ <module 'anyio' from '/usr/local/lib/python3.11/dist-packages/anyio/__init__.py'>
  109. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/to_thread.py", line 56, in run_sync
  110. Mar 22 13:24:01 openwebui start.sh[145]: return await get_async_backend().run_sync_in_worker_thread(
  111. Mar 22 13:24:01 openwebui start.sh[145]: └ <function get_async_backend at 0x75770c23a8e0>
  112. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 2470, in run_sync_in_worker_thread
  113. Mar 22 13:24:01 openwebui start.sh[145]: return await future
  114. Mar 22 13:24:01 openwebui start.sh[145]: └ <Future finished exception=AttributeError("'NoneType' object has no attribute 'encode'")>
  115. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 967, in run
  116. Mar 22 13:24:01 openwebui start.sh[145]: result = context.run(func, *args)
  117. Mar 22 13:24:01 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 905, in save_docs_to_vector_db
  118. Mar 22 13:24:01 openwebui start.sh[145]: raise e
  119. Mar 22 13:24:01 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 883, in save_docs_to_vector_db
  120. Mar 22 13:24:01 openwebui start.sh[145]: embeddings = embedding_function(
  121. Mar 22 13:24:01 openwebui start.sh[145]: └ <function get_embedding_function.<locals>.<lambda> at 0x7576abc05e40>
  122. Mar 22 13:24:01 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/retrieval/utils.py", line 314, in <lambda>
  123. Mar 22 13:24:01 openwebui start.sh[145]: return lambda query, user=None: embedding_function.encode(query).tolist()
  124. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ ['tagesschau.de - die erste Adresse für Nachrichten und Information | tagesschau.de ...
  125. Mar 22 13:24:01 openwebui start.sh[145]: │ └ None
  126. Mar 22 13:24:01 openwebui start.sh[145]: └ ['tagesschau.de - die erste Adresse für Nachrichten und Information | tagesschau.de ...
  127. Mar 22 13:24:01 openwebui start.sh[145]: AttributeError: 'NoneType' object has no attribute 'encode'
  128. Mar 22 13:24:01 openwebui start.sh[145]: During handling of the above exception, another exception occurred:
  129. Mar 22 13:24:01 openwebui start.sh[145]: Traceback (most recent call last):
  130. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/bin/uvicorn", line 8, in <module>
  131. Mar 22 13:24:01 openwebui start.sh[145]: sys.exit(main())
  132. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <Command main>
  133. Mar 22 13:24:01 openwebui start.sh[145]: │ └ <built-in function exit>
  134. Mar 22 13:24:01 openwebui start.sh[145]: └ <module 'sys' (built-in)>
  135. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1161, in __call__
  136. Mar 22 13:24:01 openwebui start.sh[145]: return self.main(*args, **kwargs)
  137. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ {}
  138. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ ()
  139. Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function BaseCommand.main at 0x75770c2dbb00>
  140. Mar 22 13:24:01 openwebui start.sh[145]: └ <Command main>
  141. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1082, in main
  142. Mar 22 13:24:01 openwebui start.sh[145]: rv = self.invoke(ctx)
  143. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <click.core.Context object at 0x75770cfc85d0>
  144. Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function Command.invoke at 0x75770c2f0720>
  145. Mar 22 13:24:01 openwebui start.sh[145]: └ <Command main>
  146. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1443, in invoke
  147. Mar 22 13:24:01 openwebui start.sh[145]: return ctx.invoke(self.callback, **ctx.params)
  148. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ │ └ {'host': '0.0.0.0', 'port': <replaced>, 'forwarded_allow_ips': '*', 'app': 'open_webui.main:app', 'uds': None, 'fd': None, 'reload'...
  149. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ └ <click.core.Context object at 0x75770cfc85d0>
  150. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <function main at 0x75770c12de40>
  151. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <Command main>
  152. Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function Context.invoke at 0x75770c2db060>
  153. Mar 22 13:24:01 openwebui start.sh[145]: └ <click.core.Context object at 0x75770cfc85d0>
  154. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 788, in invoke
  155. Mar 22 13:24:01 openwebui start.sh[145]: return __callback(*args, **kwargs)
  156. Mar 22 13:24:01 openwebui start.sh[145]: │ └ {'host': '0.0.0.0', 'port': <replaced>, 'forwarded_allow_ips': '*', 'app': 'open_webui.main:app', 'uds': None, 'fd': None, 'reload'...
  157. Mar 22 13:24:01 openwebui start.sh[145]: └ ()
  158. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/main.py", line 412, in main
  159. Mar 22 13:24:01 openwebui start.sh[145]: run(
  160. Mar 22 13:24:01 openwebui start.sh[145]: └ <function run at 0x75770c351bc0>
  161. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/main.py", line 579, in run
  162. Mar 22 13:24:01 openwebui start.sh[145]: server.run()
  163. Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function Server.run at 0x75770c38f1a0>
  164. Mar 22 13:24:01 openwebui start.sh[145]: └ <uvicorn.server.Server object at 0x75770c331d90>
  165. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/server.py", line 66, in run
  166. Mar 22 13:24:01 openwebui start.sh[145]: return asyncio.run(self.serve(sockets=sockets))
  167. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ └ None
  168. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <function Server.serve at 0x75770c38f240>
  169. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <uvicorn.server.Server object at 0x75770c331d90>
  170. Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function run at 0x75770cb70400>
  171. Mar 22 13:24:01 openwebui start.sh[145]: └ <module 'asyncio' from '/usr/lib/python3.11/asyncio/__init__.py'>
  172. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
  173. Mar 22 13:24:01 openwebui start.sh[145]: return runner.run(main)
  174. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <coroutine object Server.serve at 0x75770c0f5120>
  175. Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function Runner.run at 0x75770c52bce0>
  176. Mar 22 13:24:01 openwebui start.sh[145]: └ <asyncio.runners.Runner object at 0x75770d4168d0>
  177. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
  178. Mar 22 13:24:01 openwebui start.sh[145]: return self._loop.run_until_complete(task)
  179. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <Task pending name='Task-1' coro=<Server.serve() running at /usr/local/lib/python3.11/dist-packages/uvicorn/server.py:70> wai...
  180. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <cyfunction Loop.run_until_complete at 0x75770c1076b0>
  181. Mar 22 13:24:01 openwebui start.sh[145]: │ └ <uvloop.Loop running=True closed=False debug=False>
  182. Mar 22 13:24:01 openwebui start.sh[145]: └ <asyncio.runners.Runner object at 0x75770d4168d0>
  183. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/middleware/base.py", line 141, in coro
  184. Mar 22 13:24:01 openwebui start.sh[145]: await self.app(scope, receive_or_disconnect, send_no_error)
  185. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x75769f54fc40>
  186. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  187. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  188. Mar 22 13:24:01 openwebui start.sh[145]: │ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7576acffe190>
  189. Mar 22 13:24:01 openwebui start.sh[145]: └ <open_webui.main.RedirectMiddleware object at 0x7576acf0fdd0>
  190. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/middleware/exceptions.py", line 62, in __call__
  191. Mar 22 13:24:01 openwebui start.sh[145]: await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
  192. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x75769f54fc40>
  193. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  194. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  195. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <starlette.requests.Request object at 0x7576ab189950>
  196. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
  197. Mar 22 13:24:01 openwebui start.sh[145]: │ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7576acffe190>
  198. Mar 22 13:24:01 openwebui start.sh[145]: └ <function wrap_app_handling_exceptions at 0x7577098662a0>
  199. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
  200. Mar 22 13:24:01 openwebui start.sh[145]: await app(scope, receive, sender)
  201. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  202. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  203. Mar 22 13:24:01 openwebui start.sh[145]: │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  204. Mar 22 13:24:01 openwebui start.sh[145]: └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
  205. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 715, in __call__
  206. Mar 22 13:24:01 openwebui start.sh[145]: await self.middleware_stack(scope, receive, send)
  207. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  208. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  209. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  210. Mar 22 13:24:01 openwebui start.sh[145]: │ └ <bound method Router.app of <fastapi.routing.APIRouter object at 0x7576d5238bd0>>
  211. Mar 22 13:24:01 openwebui start.sh[145]: └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
  212. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 735, in app
  213. Mar 22 13:24:01 openwebui start.sh[145]: await route.handle(scope, receive, send)
  214. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  215. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  216. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  217. Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function Route.handle at 0x757709867880>
  218. Mar 22 13:24:01 openwebui start.sh[145]: └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
  219. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 288, in handle
  220. Mar 22 13:24:01 openwebui start.sh[145]: await self.app(scope, receive, send)
  221. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  222. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  223. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  224. Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function request_response.<locals>.app at 0x7576ac9a9760>
  225. Mar 22 13:24:01 openwebui start.sh[145]: └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
  226. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 76, in app
  227. Mar 22 13:24:01 openwebui start.sh[145]: await wrap_app_handling_exceptions(app, request)(scope, receive, send)
  228. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  229. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  230. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  231. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <starlette.requests.Request object at 0x7576a56ba290>
  232. Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function request_response.<locals>.app.<locals>.app at 0x75769f54e480>
  233. Mar 22 13:24:01 openwebui start.sh[145]: └ <function wrap_app_handling_exceptions at 0x7577098662a0>
  234. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
  235. Mar 22 13:24:01 openwebui start.sh[145]: await app(scope, receive, sender)
  236. Mar 22 13:24:01 openwebui start.sh[145]: │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54f060>
  237. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  238. Mar 22 13:24:01 openwebui start.sh[145]: │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  239. Mar 22 13:24:01 openwebui start.sh[145]: └ <function request_response.<locals>.app.<locals>.app at 0x75769f54e480>
  240. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 73, in app
  241. Mar 22 13:24:01 openwebui start.sh[145]: response = await f(request)
  242. Mar 22 13:24:01 openwebui start.sh[145]: │ └ <starlette.requests.Request object at 0x7576a56ba290>
  243. Mar 22 13:24:01 openwebui start.sh[145]: └ <function get_request_handler.<locals>.app at 0x7576ac9a98a0>
  244. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/fastapi/routing.py", line 301, in app
  245. Mar 22 13:24:01 openwebui start.sh[145]: raw_response = await run_endpoint_function(
  246. Mar 22 13:24:01 openwebui start.sh[145]: └ <function run_endpoint_function at 0x7577096a56c0>
  247. Mar 22 13:24:01 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/fastapi/routing.py", line 212, in run_endpoint_function
  248. Mar 22 13:24:01 openwebui start.sh[145]: return await dependant.call(**values)
  249. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ {'user': UserModel(id='<replaced>', name='<replaced>', email='<replaced>', role='admin', ...
  250. Mar 22 13:24:01 openwebui start.sh[145]: │ └ <function chat_completion at 0x7576ac9a9ee0>
  251. Mar 22 13:24:01 openwebui start.sh[145]: └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[ModelField(field_info=Body(Pydant...
  252. Mar 22 13:24:01 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/main.py", line 1043, in chat_completion
  253. Mar 22 13:24:01 openwebui start.sh[145]: form_data, metadata, events = await process_chat_payload(
  254. Mar 22 13:24:01 openwebui start.sh[145]: │ │ └ <function process_chat_payload at 0x7576d57d8400>
  255. Mar 22 13:24:01 openwebui start.sh[145]: │ └ {'user_id': '<replaced>', 'chat_id': '1caf4a0a-1217-4156-b9aa-5a824d7cee97', 'message_id': '3f2c177...
  256. Mar 22 13:24:01 openwebui start.sh[145]: └ {'stream': True, 'model': 'gpt-4o-mini', 'messages': [{'role': 'system', 'content': 'Du bist ein hilfreicher, informativer un...
  257. Mar 22 13:24:01 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/utils/middleware.py", line 736, in process_chat_payload
  258. Mar 22 13:24:01 openwebui start.sh[145]: form_data = await chat_web_search_handler(
  259. Mar 22 13:24:01 openwebui start.sh[145]: └ <function chat_web_search_handler at 0x7576d57d9580>
  260. Mar 22 13:24:01 openwebui start.sh[145]: > File "/opt/open-webui/backend/open_webui/utils/middleware.py", line 341, in chat_web_search_handler
  261. Mar 22 13:24:01 openwebui start.sh[145]: results = await process_web_search(
  262. Mar 22 13:24:01 openwebui start.sh[145]: └ <function process_web_search at 0x7576d747eca0>
  263. Mar 22 13:24:01 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 1481, in process_web_search
  264. Mar 22 13:24:01 openwebui start.sh[145]: raise HTTPException(
  265. Mar 22 13:24:01 openwebui start.sh[145]: └ <class 'fastapi.exceptions.HTTPException'>
  266. Mar 22 13:24:01 openwebui start.sh[145]: fastapi.exceptions.HTTPException: 400: [ERROR: 'NoneType' object has no attribute 'encode']
  267. Mar 22 13:24:01 openwebui start.sh[145]: 2025-03-22 13:24:01.258 | INFO | open_webui.routers.retrieval:process_web_search:1417 - trying to web search with ('google_pse', 'besondere Ereignisse am 26. Oktober 2023') - {}
  268. Mar 22 13:24:04 openwebui start.sh[145]: [178B blob data]
  269. Mar 22 13:24:04 openwebui start.sh[145]: 2025-03-22 13:24:04.607 | INFO | open_webui.routers.retrieval:save_docs_to_vector_db:782 - save_docs_to_vector_db: document BMF-Monatsbericht November 2023 - Ergebnisse der Steuerschätzung vom 24. bis 26. Oktober 2023, Tag der offenen Tür im Winterpalais des Prinzen Eugen am 26. Oktober, Programm – Kinderkunstfest web-search-62edc72aea83916f3f78d01ca16d398b4a811f611297387b08c3 - {}
  270. Mar 22 13:24:04 openwebui start.sh[145]: 2025-03-22 13:24:04.615 | INFO | open_webui.routers.retrieval:save_docs_to_vector_db:865 - adding to collection web-search-62edc72aea83916f3f78d01ca16d398b4a811f611297387b08c3 - {}
  271. Mar 22 13:24:04 openwebui start.sh[145]: 2025-03-22 13:24:04.615 | ERROR | open_webui.routers.retrieval:save_docs_to_vector_db:904 - 'NoneType' object has no attribute 'encode' - {}
  272. Mar 22 13:24:04 openwebui start.sh[145]: Traceback (most recent call last):
  273. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap
  274. Mar 22 13:24:04 openwebui start.sh[145]: self._bootstrap_inner()
  275. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function Thread._bootstrap_inner at 0x75770ce87ce0>
  276. Mar 22 13:24:04 openwebui start.sh[145]: └ <WorkerThread(AnyIO worker thread, started 129151912642240)>
  277. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
  278. Mar 22 13:24:04 openwebui start.sh[145]: self.run()
  279. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function WorkerThread.run at 0x7576ac827880>
  280. Mar 22 13:24:04 openwebui start.sh[145]: └ <WorkerThread(AnyIO worker thread, started 129151912642240)>
  281. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 967, in run
  282. Mar 22 13:24:04 openwebui start.sh[145]: result = context.run(func, *args)
  283. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ ()
  284. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ functools.partial(<function save_docs_to_vector_db at 0x7576d7445620>, <starlette.requests.Request object at 0x7576a56ba290>,...
  285. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <method 'run' of '_contextvars.Context' objects>
  286. Mar 22 13:24:04 openwebui start.sh[145]: └ <_contextvars.Context object at 0x7576a5366280>
  287. Mar 22 13:24:04 openwebui start.sh[145]: > File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 883, in save_docs_to_vector_db
  288. Mar 22 13:24:04 openwebui start.sh[145]: embeddings = embedding_function(
  289. Mar 22 13:24:04 openwebui start.sh[145]: └ <function get_embedding_function.<locals>.<lambda> at 0x7576abc06fc0>
  290. Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/retrieval/utils.py", line 314, in <lambda>
  291. Mar 22 13:24:04 openwebui start.sh[145]: return lambda query, user=None: embedding_function.encode(query).tolist()
  292. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ ['BMF-Monatsbericht November 2023 - Ergebnisse der Steuerschätzung vom 24. bis 26. Oktober 2023 ...
  293. Mar 22 13:24:04 openwebui start.sh[145]: │ └ None
  294. Mar 22 13:24:04 openwebui start.sh[145]: └ ['BMF-Monatsbericht November 2023 - Ergebnisse der Steuerschätzung vom 24. bis 26. Oktober 2023 ...
  295. Mar 22 13:24:04 openwebui start.sh[145]: AttributeError: 'NoneType' object has no attribute 'encode'
  296. Mar 22 13:24:04 openwebui start.sh[145]: 2025-03-22 13:24:04.619 | ERROR | open_webui.routers.retrieval:process_web_search:1480 - 'NoneType' object has no attribute 'encode' - {}
  297. Mar 22 13:24:04 openwebui start.sh[145]: Traceback (most recent call last):
  298. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/bin/uvicorn", line 8, in <module>
  299. Mar 22 13:24:04 openwebui start.sh[145]: sys.exit(main())
  300. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <Command main>
  301. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <built-in function exit>
  302. Mar 22 13:24:04 openwebui start.sh[145]: └ <module 'sys' (built-in)>
  303. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1161, in __call__
  304. Mar 22 13:24:04 openwebui start.sh[145]: return self.main(*args, **kwargs)
  305. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ {}
  306. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ ()
  307. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function BaseCommand.main at 0x75770c2dbb00>
  308. Mar 22 13:24:04 openwebui start.sh[145]: └ <Command main>
  309. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1082, in main
  310. Mar 22 13:24:04 openwebui start.sh[145]: rv = self.invoke(ctx)
  311. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <click.core.Context object at 0x75770cfc85d0>
  312. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function Command.invoke at 0x75770c2f0720>
  313. Mar 22 13:24:04 openwebui start.sh[145]: └ <Command main>
  314. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1443, in invoke
  315. Mar 22 13:24:04 openwebui start.sh[145]: return ctx.invoke(self.callback, **ctx.params)
  316. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ │ └ {'host': '0.0.0.0', 'port': <replaced>, 'forwarded_allow_ips': '*', 'app': 'open_webui.main:app', 'uds': None, 'fd': None, 'reload'...
  317. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ <click.core.Context object at 0x75770cfc85d0>
  318. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function main at 0x75770c12de40>
  319. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <Command main>
  320. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function Context.invoke at 0x75770c2db060>
  321. Mar 22 13:24:04 openwebui start.sh[145]: └ <click.core.Context object at 0x75770cfc85d0>
  322. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 788, in invoke
  323. Mar 22 13:24:04 openwebui start.sh[145]: return __callback(*args, **kwargs)
  324. Mar 22 13:24:04 openwebui start.sh[145]: │ └ {'host': '0.0.0.0', 'port': <replaced>, 'forwarded_allow_ips': '*', 'app': 'open_webui.main:app', 'uds': None, 'fd': None, 'reload'...
  325. Mar 22 13:24:04 openwebui start.sh[145]: └ ()
  326. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/main.py", line 412, in main
  327. Mar 22 13:24:04 openwebui start.sh[145]: run(
  328. Mar 22 13:24:04 openwebui start.sh[145]: └ <function run at 0x75770c351bc0>
  329. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/main.py", line 579, in run
  330. Mar 22 13:24:04 openwebui start.sh[145]: server.run()
  331. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function Server.run at 0x75770c38f1a0>
  332. Mar 22 13:24:04 openwebui start.sh[145]: └ <uvicorn.server.Server object at 0x75770c331d90>
  333. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/server.py", line 66, in run
  334. Mar 22 13:24:04 openwebui start.sh[145]: return asyncio.run(self.serve(sockets=sockets))
  335. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ None
  336. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function Server.serve at 0x75770c38f240>
  337. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <uvicorn.server.Server object at 0x75770c331d90>
  338. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function run at 0x75770cb70400>
  339. Mar 22 13:24:04 openwebui start.sh[145]: └ <module 'asyncio' from '/usr/lib/python3.11/asyncio/__init__.py'>
  340. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
  341. Mar 22 13:24:04 openwebui start.sh[145]: return runner.run(main)
  342. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <coroutine object Server.serve at 0x75770c0f5120>
  343. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function Runner.run at 0x75770c52bce0>
  344. Mar 22 13:24:04 openwebui start.sh[145]: └ <asyncio.runners.Runner object at 0x75770d4168d0>
  345. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
  346. Mar 22 13:24:04 openwebui start.sh[145]: return self._loop.run_until_complete(task)
  347. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <Task pending name='Task-1' coro=<Server.serve() running at /usr/local/lib/python3.11/dist-packages/uvicorn/server.py:70> wai...
  348. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <cyfunction Loop.run_until_complete at 0x75770c1076b0>
  349. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <uvloop.Loop running=True closed=False debug=False>
  350. Mar 22 13:24:04 openwebui start.sh[145]: └ <asyncio.runners.Runner object at 0x75770d4168d0>
  351. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/middleware/base.py", line 141, in coro
  352. Mar 22 13:24:04 openwebui start.sh[145]: await self.app(scope, receive_or_disconnect, send_no_error)
  353. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x75769f54fc40>
  354. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  355. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  356. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7576acffe190>
  357. Mar 22 13:24:04 openwebui start.sh[145]: └ <open_webui.main.RedirectMiddleware object at 0x7576acf0fdd0>
  358. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/middleware/exceptions.py", line 62, in __call__
  359. Mar 22 13:24:04 openwebui start.sh[145]: await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
  360. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x75769f54fc40>
  361. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  362. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  363. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <starlette.requests.Request object at 0x7576ab189950>
  364. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
  365. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7576acffe190>
  366. Mar 22 13:24:04 openwebui start.sh[145]: └ <function wrap_app_handling_exceptions at 0x7577098662a0>
  367. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
  368. Mar 22 13:24:04 openwebui start.sh[145]: await app(scope, receive, sender)
  369. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  370. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  371. Mar 22 13:24:04 openwebui start.sh[145]: │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  372. Mar 22 13:24:04 openwebui start.sh[145]: └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
  373. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 715, in __call__
  374. Mar 22 13:24:04 openwebui start.sh[145]: await self.middleware_stack(scope, receive, send)
  375. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  376. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  377. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  378. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <bound method Router.app of <fastapi.routing.APIRouter object at 0x7576d5238bd0>>
  379. Mar 22 13:24:04 openwebui start.sh[145]: └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
  380. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 735, in app
  381. Mar 22 13:24:04 openwebui start.sh[145]: await route.handle(scope, receive, send)
  382. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  383. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  384. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  385. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function Route.handle at 0x757709867880>
  386. Mar 22 13:24:04 openwebui start.sh[145]: └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
  387. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 288, in handle
  388. Mar 22 13:24:04 openwebui start.sh[145]: await self.app(scope, receive, send)
  389. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  390. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  391. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  392. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function request_response.<locals>.app at 0x7576ac9a9760>
  393. Mar 22 13:24:04 openwebui start.sh[145]: └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
  394. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 76, in app
  395. Mar 22 13:24:04 openwebui start.sh[145]: await wrap_app_handling_exceptions(app, request)(scope, receive, send)
  396. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  397. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  398. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  399. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <starlette.requests.Request object at 0x7576a56ba290>
  400. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function request_response.<locals>.app.<locals>.app at 0x75769f54e480>
  401. Mar 22 13:24:04 openwebui start.sh[145]: └ <function wrap_app_handling_exceptions at 0x7577098662a0>
  402. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
  403. Mar 22 13:24:04 openwebui start.sh[145]: await app(scope, receive, sender)
  404. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54f060>
  405. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  406. Mar 22 13:24:04 openwebui start.sh[145]: │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  407. Mar 22 13:24:04 openwebui start.sh[145]: └ <function request_response.<locals>.app.<locals>.app at 0x75769f54e480>
  408. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 73, in app
  409. Mar 22 13:24:04 openwebui start.sh[145]: response = await f(request)
  410. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <starlette.requests.Request object at 0x7576a56ba290>
  411. Mar 22 13:24:04 openwebui start.sh[145]: └ <function get_request_handler.<locals>.app at 0x7576ac9a98a0>
  412. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/fastapi/routing.py", line 301, in app
  413. Mar 22 13:24:04 openwebui start.sh[145]: raw_response = await run_endpoint_function(
  414. Mar 22 13:24:04 openwebui start.sh[145]: └ <function run_endpoint_function at 0x7577096a56c0>
  415. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/fastapi/routing.py", line 212, in run_endpoint_function
  416. Mar 22 13:24:04 openwebui start.sh[145]: return await dependant.call(**values)
  417. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ {'user': UserModel(id='<replaced>', name='<replaced>', email='<replaced>', role='admin', ...
  418. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function chat_completion at 0x7576ac9a9ee0>
  419. Mar 22 13:24:04 openwebui start.sh[145]: └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[ModelField(field_info=Body(Pydant...
  420. Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/main.py", line 1043, in chat_completion
  421. Mar 22 13:24:04 openwebui start.sh[145]: form_data, metadata, events = await process_chat_payload(
  422. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <function process_chat_payload at 0x7576d57d8400>
  423. Mar 22 13:24:04 openwebui start.sh[145]: │ └ {'user_id': '<replaced>', 'chat_id': '1caf4a0a-1217-4156-b9aa-5a824d7cee97', 'message_id': '3f2c177...
  424. Mar 22 13:24:04 openwebui start.sh[145]: └ {'stream': True, 'model': 'gpt-4o-mini', 'messages': [{'role': 'system', 'content': 'Du bist ein hilfreicher, informativer un...
  425. Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/utils/middleware.py", line 736, in process_chat_payload
  426. Mar 22 13:24:04 openwebui start.sh[145]: form_data = await chat_web_search_handler(
  427. Mar 22 13:24:04 openwebui start.sh[145]: └ <function chat_web_search_handler at 0x7576d57d9580>
  428. Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/utils/middleware.py", line 341, in chat_web_search_handler
  429. Mar 22 13:24:04 openwebui start.sh[145]: results = await process_web_search(
  430. Mar 22 13:24:04 openwebui start.sh[145]: └ <function process_web_search at 0x7576d747eca0>
  431. Mar 22 13:24:04 openwebui start.sh[145]: > File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 1464, in process_web_search
  432. Mar 22 13:24:04 openwebui start.sh[145]: await run_in_threadpool(
  433. Mar 22 13:24:04 openwebui start.sh[145]: └ <function run_in_threadpool at 0x757709af4fe0>
  434. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/concurrency.py", line 37, in run_in_threadpool
  435. Mar 22 13:24:04 openwebui start.sh[145]: return await anyio.to_thread.run_sync(func)
  436. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ functools.partial(<function save_docs_to_vector_db at 0x7576d7445620>, <starlette.requests.Request object at 0x7576a56ba290>,...
  437. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <function run_sync at 0x75770c239260>
  438. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <module 'anyio.to_thread' from '/usr/local/lib/python3.11/dist-packages/anyio/to_thread.py'>
  439. Mar 22 13:24:04 openwebui start.sh[145]: └ <module 'anyio' from '/usr/local/lib/python3.11/dist-packages/anyio/__init__.py'>
  440. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/to_thread.py", line 56, in run_sync
  441. Mar 22 13:24:04 openwebui start.sh[145]: return await get_async_backend().run_sync_in_worker_thread(
  442. Mar 22 13:24:04 openwebui start.sh[145]: └ <function get_async_backend at 0x75770c23a8e0>
  443. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 2470, in run_sync_in_worker_thread
  444. Mar 22 13:24:04 openwebui start.sh[145]: return await future
  445. Mar 22 13:24:04 openwebui start.sh[145]: └ <Future finished exception=AttributeError("'NoneType' object has no attribute 'encode'")>
  446. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 967, in run
  447. Mar 22 13:24:04 openwebui start.sh[145]: result = context.run(func, *args)
  448. Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 905, in save_docs_to_vector_db
  449. Mar 22 13:24:04 openwebui start.sh[145]: raise e
  450. Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 883, in save_docs_to_vector_db
  451. Mar 22 13:24:04 openwebui start.sh[145]: embeddings = embedding_function(
  452. Mar 22 13:24:04 openwebui start.sh[145]: └ <function get_embedding_function.<locals>.<lambda> at 0x7576abc06fc0>
  453. Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/retrieval/utils.py", line 314, in <lambda>
  454. Mar 22 13:24:04 openwebui start.sh[145]: return lambda query, user=None: embedding_function.encode(query).tolist()
  455. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ ['BMF-Monatsbericht November 2023 - Ergebnisse der Steuerschätzung vom 24. bis 26. Oktober 2023 ...
  456. Mar 22 13:24:04 openwebui start.sh[145]: │ └ None
  457. Mar 22 13:24:04 openwebui start.sh[145]: └ ['BMF-Monatsbericht November 2023 - Ergebnisse der Steuerschätzung vom 24. bis 26. Oktober 2023 ...
  458. Mar 22 13:24:04 openwebui start.sh[145]: AttributeError: 'NoneType' object has no attribute 'encode'
  459. Mar 22 13:24:04 openwebui start.sh[145]: 2025-03-22 13:24:04.626 | ERROR | open_webui.utils.middleware:chat_web_search_handler:376 - 400: [ERROR: 'NoneType' object has no attribute 'encode'] - {}
  460. Mar 22 13:24:04 openwebui start.sh[145]: Traceback (most recent call last):
  461. Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 1464, in process_web_search
  462. Mar 22 13:24:04 openwebui start.sh[145]: await run_in_threadpool(
  463. Mar 22 13:24:04 openwebui start.sh[145]: └ <function run_in_threadpool at 0x757709af4fe0>
  464. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/concurrency.py", line 37, in run_in_threadpool
  465. Mar 22 13:24:04 openwebui start.sh[145]: return await anyio.to_thread.run_sync(func)
  466. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ functools.partial(<function save_docs_to_vector_db at 0x7576d7445620>, <starlette.requests.Request object at 0x7576a56ba290>,...
  467. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <function run_sync at 0x75770c239260>
  468. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <module 'anyio.to_thread' from '/usr/local/lib/python3.11/dist-packages/anyio/to_thread.py'>
  469. Mar 22 13:24:04 openwebui start.sh[145]: └ <module 'anyio' from '/usr/local/lib/python3.11/dist-packages/anyio/__init__.py'>
  470. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/to_thread.py", line 56, in run_sync
  471. Mar 22 13:24:04 openwebui start.sh[145]: return await get_async_backend().run_sync_in_worker_thread(
  472. Mar 22 13:24:04 openwebui start.sh[145]: └ <function get_async_backend at 0x75770c23a8e0>
  473. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 2470, in run_sync_in_worker_thread
  474. Mar 22 13:24:04 openwebui start.sh[145]: return await future
  475. Mar 22 13:24:04 openwebui start.sh[145]: └ <Future finished exception=AttributeError("'NoneType' object has no attribute 'encode'")>
  476. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 967, in run
  477. Mar 22 13:24:04 openwebui start.sh[145]: result = context.run(func, *args)
  478. Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 905, in save_docs_to_vector_db
  479. Mar 22 13:24:04 openwebui start.sh[145]: raise e
  480. Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 883, in save_docs_to_vector_db
  481. Mar 22 13:24:04 openwebui start.sh[145]: embeddings = embedding_function(
  482. Mar 22 13:24:04 openwebui start.sh[145]: └ <function get_embedding_function.<locals>.<lambda> at 0x7576abc06fc0>
  483. Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/retrieval/utils.py", line 314, in <lambda>
  484. Mar 22 13:24:04 openwebui start.sh[145]: return lambda query, user=None: embedding_function.encode(query).tolist()
  485. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ ['BMF-Monatsbericht November 2023 - Ergebnisse der Steuerschätzung vom 24. bis 26. Oktober 2023 ...
  486. Mar 22 13:24:04 openwebui start.sh[145]: │ └ None
  487. Mar 22 13:24:04 openwebui start.sh[145]: └ ['BMF-Monatsbericht November 2023 - Ergebnisse der Steuerschätzung vom 24. bis 26. Oktober 2023 ...
  488. Mar 22 13:24:04 openwebui start.sh[145]: AttributeError: 'NoneType' object has no attribute 'encode'
  489. Mar 22 13:24:04 openwebui start.sh[145]: During handling of the above exception, another exception occurred:
  490. Mar 22 13:24:04 openwebui start.sh[145]: Traceback (most recent call last):
  491. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/bin/uvicorn", line 8, in <module>
  492. Mar 22 13:24:04 openwebui start.sh[145]: sys.exit(main())
  493. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <Command main>
  494. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <built-in function exit>
  495. Mar 22 13:24:04 openwebui start.sh[145]: └ <module 'sys' (built-in)>
  496. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1161, in __call__
  497. Mar 22 13:24:04 openwebui start.sh[145]: return self.main(*args, **kwargs)
  498. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ {}
  499. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ ()
  500. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function BaseCommand.main at 0x75770c2dbb00>
  501. Mar 22 13:24:04 openwebui start.sh[145]: └ <Command main>
  502. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1082, in main
  503. Mar 22 13:24:04 openwebui start.sh[145]: rv = self.invoke(ctx)
  504. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <click.core.Context object at 0x75770cfc85d0>
  505. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function Command.invoke at 0x75770c2f0720>
  506. Mar 22 13:24:04 openwebui start.sh[145]: └ <Command main>
  507. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1443, in invoke
  508. Mar 22 13:24:04 openwebui start.sh[145]: return ctx.invoke(self.callback, **ctx.params)
  509. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ │ └ {'host': '0.0.0.0', 'port': <replaced>, 'forwarded_allow_ips': '*', 'app': 'open_webui.main:app', 'uds': None, 'fd': None, 'reload'...
  510. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ <click.core.Context object at 0x75770cfc85d0>
  511. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function main at 0x75770c12de40>
  512. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <Command main>
  513. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function Context.invoke at 0x75770c2db060>
  514. Mar 22 13:24:04 openwebui start.sh[145]: └ <click.core.Context object at 0x75770cfc85d0>
  515. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 788, in invoke
  516. Mar 22 13:24:04 openwebui start.sh[145]: return __callback(*args, **kwargs)
  517. Mar 22 13:24:04 openwebui start.sh[145]: │ └ {'host': '0.0.0.0', 'port': <replaced>, 'forwarded_allow_ips': '*', 'app': 'open_webui.main:app', 'uds': None, 'fd': None, 'reload'...
  518. Mar 22 13:24:04 openwebui start.sh[145]: └ ()
  519. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/main.py", line 412, in main
  520. Mar 22 13:24:04 openwebui start.sh[145]: run(
  521. Mar 22 13:24:04 openwebui start.sh[145]: └ <function run at 0x75770c351bc0>
  522. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/main.py", line 579, in run
  523. Mar 22 13:24:04 openwebui start.sh[145]: server.run()
  524. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function Server.run at 0x75770c38f1a0>
  525. Mar 22 13:24:04 openwebui start.sh[145]: └ <uvicorn.server.Server object at 0x75770c331d90>
  526. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/server.py", line 66, in run
  527. Mar 22 13:24:04 openwebui start.sh[145]: return asyncio.run(self.serve(sockets=sockets))
  528. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ None
  529. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function Server.serve at 0x75770c38f240>
  530. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <uvicorn.server.Server object at 0x75770c331d90>
  531. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function run at 0x75770cb70400>
  532. Mar 22 13:24:04 openwebui start.sh[145]: └ <module 'asyncio' from '/usr/lib/python3.11/asyncio/__init__.py'>
  533. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
  534. Mar 22 13:24:04 openwebui start.sh[145]: return runner.run(main)
  535. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <coroutine object Server.serve at 0x75770c0f5120>
  536. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function Runner.run at 0x75770c52bce0>
  537. Mar 22 13:24:04 openwebui start.sh[145]: └ <asyncio.runners.Runner object at 0x75770d4168d0>
  538. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
  539. Mar 22 13:24:04 openwebui start.sh[145]: return self._loop.run_until_complete(task)
  540. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <Task pending name='Task-1' coro=<Server.serve() running at /usr/local/lib/python3.11/dist-packages/uvicorn/server.py:70> wai...
  541. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <cyfunction Loop.run_until_complete at 0x75770c1076b0>
  542. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <uvloop.Loop running=True closed=False debug=False>
  543. Mar 22 13:24:04 openwebui start.sh[145]: └ <asyncio.runners.Runner object at 0x75770d4168d0>
  544. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/middleware/base.py", line 141, in coro
  545. Mar 22 13:24:04 openwebui start.sh[145]: await self.app(scope, receive_or_disconnect, send_no_error)
  546. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x75769f54fc40>
  547. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  548. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  549. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7576acffe190>
  550. Mar 22 13:24:04 openwebui start.sh[145]: └ <open_webui.main.RedirectMiddleware object at 0x7576acf0fdd0>
  551. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/middleware/exceptions.py", line 62, in __call__
  552. Mar 22 13:24:04 openwebui start.sh[145]: await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
  553. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x75769f54fc40>
  554. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  555. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  556. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <starlette.requests.Request object at 0x7576ab189950>
  557. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
  558. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7576acffe190>
  559. Mar 22 13:24:04 openwebui start.sh[145]: └ <function wrap_app_handling_exceptions at 0x7577098662a0>
  560. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
  561. Mar 22 13:24:04 openwebui start.sh[145]: await app(scope, receive, sender)
  562. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  563. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  564. Mar 22 13:24:04 openwebui start.sh[145]: │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  565. Mar 22 13:24:04 openwebui start.sh[145]: └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
  566. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 715, in __call__
  567. Mar 22 13:24:04 openwebui start.sh[145]: await self.middleware_stack(scope, receive, send)
  568. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  569. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  570. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  571. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <bound method Router.app of <fastapi.routing.APIRouter object at 0x7576d5238bd0>>
  572. Mar 22 13:24:04 openwebui start.sh[145]: └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
  573. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 735, in app
  574. Mar 22 13:24:04 openwebui start.sh[145]: await route.handle(scope, receive, send)
  575. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  576. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  577. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  578. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function Route.handle at 0x757709867880>
  579. Mar 22 13:24:04 openwebui start.sh[145]: └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
  580. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 288, in handle
  581. Mar 22 13:24:04 openwebui start.sh[145]: await self.app(scope, receive, send)
  582. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  583. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  584. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  585. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function request_response.<locals>.app at 0x7576ac9a9760>
  586. Mar 22 13:24:04 openwebui start.sh[145]: └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
  587. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 76, in app
  588. Mar 22 13:24:04 openwebui start.sh[145]: await wrap_app_handling_exceptions(app, request)(scope, receive, send)
  589. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  590. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  591. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  592. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <starlette.requests.Request object at 0x7576a56ba290>
  593. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function request_response.<locals>.app.<locals>.app at 0x75769f54e480>
  594. Mar 22 13:24:04 openwebui start.sh[145]: └ <function wrap_app_handling_exceptions at 0x7577098662a0>
  595. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
  596. Mar 22 13:24:04 openwebui start.sh[145]: await app(scope, receive, sender)
  597. Mar 22 13:24:04 openwebui start.sh[145]: │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54f060>
  598. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  599. Mar 22 13:24:04 openwebui start.sh[145]: │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  600. Mar 22 13:24:04 openwebui start.sh[145]: └ <function request_response.<locals>.app.<locals>.app at 0x75769f54e480>
  601. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 73, in app
  602. Mar 22 13:24:04 openwebui start.sh[145]: response = await f(request)
  603. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <starlette.requests.Request object at 0x7576a56ba290>
  604. Mar 22 13:24:04 openwebui start.sh[145]: └ <function get_request_handler.<locals>.app at 0x7576ac9a98a0>
  605. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/fastapi/routing.py", line 301, in app
  606. Mar 22 13:24:04 openwebui start.sh[145]: raw_response = await run_endpoint_function(
  607. Mar 22 13:24:04 openwebui start.sh[145]: └ <function run_endpoint_function at 0x7577096a56c0>
  608. Mar 22 13:24:04 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/fastapi/routing.py", line 212, in run_endpoint_function
  609. Mar 22 13:24:04 openwebui start.sh[145]: return await dependant.call(**values)
  610. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ {'user': UserModel(id='<replaced>', name='<replaced>', email='<replaced>', role='admin', ...
  611. Mar 22 13:24:04 openwebui start.sh[145]: │ └ <function chat_completion at 0x7576ac9a9ee0>
  612. Mar 22 13:24:04 openwebui start.sh[145]: └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[ModelField(field_info=Body(Pydant...
  613. Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/main.py", line 1043, in chat_completion
  614. Mar 22 13:24:04 openwebui start.sh[145]: form_data, metadata, events = await process_chat_payload(
  615. Mar 22 13:24:04 openwebui start.sh[145]: │ │ └ <function process_chat_payload at 0x7576d57d8400>
  616. Mar 22 13:24:04 openwebui start.sh[145]: │ └ {'user_id': '<replaced>', 'chat_id': '1caf4a0a-1217-4156-b9aa-5a824d7cee97', 'message_id': '3f2c177...
  617. Mar 22 13:24:04 openwebui start.sh[145]: └ {'stream': True, 'model': 'gpt-4o-mini', 'messages': [{'role': 'system', 'content': 'Du bist ein hilfreicher, informativer un...
  618. Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/utils/middleware.py", line 736, in process_chat_payload
  619. Mar 22 13:24:04 openwebui start.sh[145]: form_data = await chat_web_search_handler(
  620. Mar 22 13:24:04 openwebui start.sh[145]: └ <function chat_web_search_handler at 0x7576d57d9580>
  621. Mar 22 13:24:04 openwebui start.sh[145]: > File "/opt/open-webui/backend/open_webui/utils/middleware.py", line 341, in chat_web_search_handler
  622. Mar 22 13:24:04 openwebui start.sh[145]: results = await process_web_search(
  623. Mar 22 13:24:04 openwebui start.sh[145]: └ <function process_web_search at 0x7576d747eca0>
  624. Mar 22 13:24:04 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 1481, in process_web_search
  625. Mar 22 13:24:04 openwebui start.sh[145]: raise HTTPException(
  626. Mar 22 13:24:04 openwebui start.sh[145]: └ <class 'fastapi.exceptions.HTTPException'>
  627. Mar 22 13:24:04 openwebui start.sh[145]: fastapi.exceptions.HTTPException: 400: [ERROR: 'NoneType' object has no attribute 'encode']
  628. Mar 22 13:24:04 openwebui start.sh[145]: 2025-03-22 13:24:04.645 | INFO | open_webui.routers.retrieval:process_web_search:1417 - trying to web search with ('google_pse', 'Feiertage und Gedenktage heute') - {}
  629. Mar 22 13:24:05 openwebui start.sh[145]: [116B blob data]
  630. Mar 22 13:24:06 openwebui start.sh[145]: 2025-03-22 13:24:06.137 | INFO | open_webui.routers.retrieval:save_docs_to_vector_db:782 - save_docs_to_vector_db: document Protokoll Inland der Bundesregierung - Gedenk- & Feiertage, Jahreskalender der kuriosen Feiertage, Liste von Gedenk- und Aktionstagen – Wikipedia web-search-484377f064e3bc671804141d5b96604099ff1e12d145d7ff8f5f - {}
  631. Mar 22 13:24:06 openwebui start.sh[145]: 2025-03-22 13:24:06.147 | INFO | open_webui.routers.retrieval:save_docs_to_vector_db:865 - adding to collection web-search-484377f064e3bc671804141d5b96604099ff1e12d145d7ff8f5f - {}
  632. Mar 22 13:24:06 openwebui start.sh[145]: 2025-03-22 13:24:06.147 | ERROR | open_webui.routers.retrieval:save_docs_to_vector_db:904 - 'NoneType' object has no attribute 'encode' - {}
  633. Mar 22 13:24:06 openwebui start.sh[145]: Traceback (most recent call last):
  634. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/lib/python3.11/threading.py", line 995, in _bootstrap
  635. Mar 22 13:24:06 openwebui start.sh[145]: self._bootstrap_inner()
  636. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function Thread._bootstrap_inner at 0x75770ce87ce0>
  637. Mar 22 13:24:06 openwebui start.sh[145]: └ <WorkerThread(AnyIO worker thread, started 129151912642240)>
  638. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner
  639. Mar 22 13:24:06 openwebui start.sh[145]: self.run()
  640. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function WorkerThread.run at 0x7576ac827880>
  641. Mar 22 13:24:06 openwebui start.sh[145]: └ <WorkerThread(AnyIO worker thread, started 129151912642240)>
  642. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 967, in run
  643. Mar 22 13:24:06 openwebui start.sh[145]: result = context.run(func, *args)
  644. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ ()
  645. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ functools.partial(<function save_docs_to_vector_db at 0x7576d7445620>, <starlette.requests.Request object at 0x7576a56ba290>,...
  646. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <method 'run' of '_contextvars.Context' objects>
  647. Mar 22 13:24:06 openwebui start.sh[145]: └ <_contextvars.Context object at 0x7576aa939ec0>
  648. Mar 22 13:24:06 openwebui start.sh[145]: > File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 883, in save_docs_to_vector_db
  649. Mar 22 13:24:06 openwebui start.sh[145]: embeddings = embedding_function(
  650. Mar 22 13:24:06 openwebui start.sh[145]: └ <function get_embedding_function.<locals>.<lambda> at 0x7576a589bd80>
  651. Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/retrieval/utils.py", line 314, in <lambda>
  652. Mar 22 13:24:06 openwebui start.sh[145]: return lambda query, user=None: embedding_function.encode(query).tolist()
  653. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ ['Jahreskalender der kuriosen Feiertage Zum Inhalt springen www.kuriose-feiertage.deFeiertage weltweit & kalendarische Kuri...
  654. Mar 22 13:24:06 openwebui start.sh[145]: │ └ None
  655. Mar 22 13:24:06 openwebui start.sh[145]: └ ['Jahreskalender der kuriosen Feiertage Zum Inhalt springen www.kuriose-feiertage.deFeiertage weltweit & kalendarische Kuri...
  656. Mar 22 13:24:06 openwebui start.sh[145]: AttributeError: 'NoneType' object has no attribute 'encode'
  657. Mar 22 13:24:06 openwebui start.sh[145]: 2025-03-22 13:24:06.153 | ERROR | open_webui.routers.retrieval:process_web_search:1480 - 'NoneType' object has no attribute 'encode' - {}
  658. Mar 22 13:24:06 openwebui start.sh[145]: Traceback (most recent call last):
  659. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/bin/uvicorn", line 8, in <module>
  660. Mar 22 13:24:06 openwebui start.sh[145]: sys.exit(main())
  661. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <Command main>
  662. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <built-in function exit>
  663. Mar 22 13:24:06 openwebui start.sh[145]: └ <module 'sys' (built-in)>
  664. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1161, in __call__
  665. Mar 22 13:24:06 openwebui start.sh[145]: return self.main(*args, **kwargs)
  666. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ {}
  667. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ ()
  668. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function BaseCommand.main at 0x75770c2dbb00>
  669. Mar 22 13:24:06 openwebui start.sh[145]: └ <Command main>
  670. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1082, in main
  671. Mar 22 13:24:06 openwebui start.sh[145]: rv = self.invoke(ctx)
  672. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <click.core.Context object at 0x75770cfc85d0>
  673. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function Command.invoke at 0x75770c2f0720>
  674. Mar 22 13:24:06 openwebui start.sh[145]: └ <Command main>
  675. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1443, in invoke
  676. Mar 22 13:24:06 openwebui start.sh[145]: return ctx.invoke(self.callback, **ctx.params)
  677. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ │ └ {'host': '0.0.0.0', 'port': <replaced>, 'forwarded_allow_ips': '*', 'app': 'open_webui.main:app', 'uds': None, 'fd': None, 'reload'...
  678. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ <click.core.Context object at 0x75770cfc85d0>
  679. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function main at 0x75770c12de40>
  680. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <Command main>
  681. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function Context.invoke at 0x75770c2db060>
  682. Mar 22 13:24:06 openwebui start.sh[145]: └ <click.core.Context object at 0x75770cfc85d0>
  683. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 788, in invoke
  684. Mar 22 13:24:06 openwebui start.sh[145]: return __callback(*args, **kwargs)
  685. Mar 22 13:24:06 openwebui start.sh[145]: │ └ {'host': '0.0.0.0', 'port': <replaced>, 'forwarded_allow_ips': '*', 'app': 'open_webui.main:app', 'uds': None, 'fd': None, 'reload'...
  686. Mar 22 13:24:06 openwebui start.sh[145]: └ ()
  687. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/main.py", line 412, in main
  688. Mar 22 13:24:06 openwebui start.sh[145]: run(
  689. Mar 22 13:24:06 openwebui start.sh[145]: └ <function run at 0x75770c351bc0>
  690. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/main.py", line 579, in run
  691. Mar 22 13:24:06 openwebui start.sh[145]: server.run()
  692. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function Server.run at 0x75770c38f1a0>
  693. Mar 22 13:24:06 openwebui start.sh[145]: └ <uvicorn.server.Server object at 0x75770c331d90>
  694. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/server.py", line 66, in run
  695. Mar 22 13:24:06 openwebui start.sh[145]: return asyncio.run(self.serve(sockets=sockets))
  696. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ None
  697. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function Server.serve at 0x75770c38f240>
  698. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <uvicorn.server.Server object at 0x75770c331d90>
  699. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function run at 0x75770cb70400>
  700. Mar 22 13:24:06 openwebui start.sh[145]: └ <module 'asyncio' from '/usr/lib/python3.11/asyncio/__init__.py'>
  701. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
  702. Mar 22 13:24:06 openwebui start.sh[145]: return runner.run(main)
  703. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <coroutine object Server.serve at 0x75770c0f5120>
  704. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function Runner.run at 0x75770c52bce0>
  705. Mar 22 13:24:06 openwebui start.sh[145]: └ <asyncio.runners.Runner object at 0x75770d4168d0>
  706. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
  707. Mar 22 13:24:06 openwebui start.sh[145]: return self._loop.run_until_complete(task)
  708. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <Task pending name='Task-1' coro=<Server.serve() running at /usr/local/lib/python3.11/dist-packages/uvicorn/server.py:70> wai...
  709. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <cyfunction Loop.run_until_complete at 0x75770c1076b0>
  710. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <uvloop.Loop running=True closed=False debug=False>
  711. Mar 22 13:24:06 openwebui start.sh[145]: └ <asyncio.runners.Runner object at 0x75770d4168d0>
  712. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/middleware/base.py", line 141, in coro
  713. Mar 22 13:24:06 openwebui start.sh[145]: await self.app(scope, receive_or_disconnect, send_no_error)
  714. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x75769f54fc40>
  715. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  716. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  717. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7576acffe190>
  718. Mar 22 13:24:06 openwebui start.sh[145]: └ <open_webui.main.RedirectMiddleware object at 0x7576acf0fdd0>
  719. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/middleware/exceptions.py", line 62, in __call__
  720. Mar 22 13:24:06 openwebui start.sh[145]: await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
  721. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x75769f54fc40>
  722. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  723. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  724. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <starlette.requests.Request object at 0x7576ab189950>
  725. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
  726. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7576acffe190>
  727. Mar 22 13:24:06 openwebui start.sh[145]: └ <function wrap_app_handling_exceptions at 0x7577098662a0>
  728. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
  729. Mar 22 13:24:06 openwebui start.sh[145]: await app(scope, receive, sender)
  730. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  731. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  732. Mar 22 13:24:06 openwebui start.sh[145]: │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  733. Mar 22 13:24:06 openwebui start.sh[145]: └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
  734. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 715, in __call__
  735. Mar 22 13:24:06 openwebui start.sh[145]: await self.middleware_stack(scope, receive, send)
  736. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  737. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  738. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  739. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <bound method Router.app of <fastapi.routing.APIRouter object at 0x7576d5238bd0>>
  740. Mar 22 13:24:06 openwebui start.sh[145]: └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
  741. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 735, in app
  742. Mar 22 13:24:06 openwebui start.sh[145]: await route.handle(scope, receive, send)
  743. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  744. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  745. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  746. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function Route.handle at 0x757709867880>
  747. Mar 22 13:24:06 openwebui start.sh[145]: └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
  748. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 288, in handle
  749. Mar 22 13:24:06 openwebui start.sh[145]: await self.app(scope, receive, send)
  750. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  751. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  752. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  753. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function request_response.<locals>.app at 0x7576ac9a9760>
  754. Mar 22 13:24:06 openwebui start.sh[145]: └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
  755. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 76, in app
  756. Mar 22 13:24:06 openwebui start.sh[145]: await wrap_app_handling_exceptions(app, request)(scope, receive, send)
  757. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  758. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  759. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  760. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <starlette.requests.Request object at 0x7576a56ba290>
  761. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function request_response.<locals>.app.<locals>.app at 0x75769f54e480>
  762. Mar 22 13:24:06 openwebui start.sh[145]: └ <function wrap_app_handling_exceptions at 0x7577098662a0>
  763. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
  764. Mar 22 13:24:06 openwebui start.sh[145]: await app(scope, receive, sender)
  765. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54f060>
  766. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  767. Mar 22 13:24:06 openwebui start.sh[145]: │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  768. Mar 22 13:24:06 openwebui start.sh[145]: └ <function request_response.<locals>.app.<locals>.app at 0x75769f54e480>
  769. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 73, in app
  770. Mar 22 13:24:06 openwebui start.sh[145]: response = await f(request)
  771. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <starlette.requests.Request object at 0x7576a56ba290>
  772. Mar 22 13:24:06 openwebui start.sh[145]: └ <function get_request_handler.<locals>.app at 0x7576ac9a98a0>
  773. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/fastapi/routing.py", line 301, in app
  774. Mar 22 13:24:06 openwebui start.sh[145]: raw_response = await run_endpoint_function(
  775. Mar 22 13:24:06 openwebui start.sh[145]: └ <function run_endpoint_function at 0x7577096a56c0>
  776. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/fastapi/routing.py", line 212, in run_endpoint_function
  777. Mar 22 13:24:06 openwebui start.sh[145]: return await dependant.call(**values)
  778. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ {'user': UserModel(id='<replaced>', name='<replaced>', email='<replaced>', role='admin', ...
  779. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function chat_completion at 0x7576ac9a9ee0>
  780. Mar 22 13:24:06 openwebui start.sh[145]: └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[ModelField(field_info=Body(Pydant...
  781. Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/main.py", line 1043, in chat_completion
  782. Mar 22 13:24:06 openwebui start.sh[145]: form_data, metadata, events = await process_chat_payload(
  783. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <function process_chat_payload at 0x7576d57d8400>
  784. Mar 22 13:24:06 openwebui start.sh[145]: │ └ {'user_id': '<replaced>', 'chat_id': '1caf4a0a-1217-4156-b9aa-5a824d7cee97', 'message_id': '3f2c177...
  785. Mar 22 13:24:06 openwebui start.sh[145]: └ {'stream': True, 'model': 'gpt-4o-mini', 'messages': [{'role': 'system', 'content': 'Du bist ein hilfreicher, informativer un...
  786. Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/utils/middleware.py", line 736, in process_chat_payload
  787. Mar 22 13:24:06 openwebui start.sh[145]: form_data = await chat_web_search_handler(
  788. Mar 22 13:24:06 openwebui start.sh[145]: └ <function chat_web_search_handler at 0x7576d57d9580>
  789. Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/utils/middleware.py", line 341, in chat_web_search_handler
  790. Mar 22 13:24:06 openwebui start.sh[145]: results = await process_web_search(
  791. Mar 22 13:24:06 openwebui start.sh[145]: └ <function process_web_search at 0x7576d747eca0>
  792. Mar 22 13:24:06 openwebui start.sh[145]: > File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 1464, in process_web_search
  793. Mar 22 13:24:06 openwebui start.sh[145]: await run_in_threadpool(
  794. Mar 22 13:24:06 openwebui start.sh[145]: └ <function run_in_threadpool at 0x757709af4fe0>
  795. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/concurrency.py", line 37, in run_in_threadpool
  796. Mar 22 13:24:06 openwebui start.sh[145]: return await anyio.to_thread.run_sync(func)
  797. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ functools.partial(<function save_docs_to_vector_db at 0x7576d7445620>, <starlette.requests.Request object at 0x7576a56ba290>,...
  798. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <function run_sync at 0x75770c239260>
  799. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <module 'anyio.to_thread' from '/usr/local/lib/python3.11/dist-packages/anyio/to_thread.py'>
  800. Mar 22 13:24:06 openwebui start.sh[145]: └ <module 'anyio' from '/usr/local/lib/python3.11/dist-packages/anyio/__init__.py'>
  801. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/to_thread.py", line 56, in run_sync
  802. Mar 22 13:24:06 openwebui start.sh[145]: return await get_async_backend().run_sync_in_worker_thread(
  803. Mar 22 13:24:06 openwebui start.sh[145]: └ <function get_async_backend at 0x75770c23a8e0>
  804. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 2470, in run_sync_in_worker_thread
  805. Mar 22 13:24:06 openwebui start.sh[145]: return await future
  806. Mar 22 13:24:06 openwebui start.sh[145]: └ <Future finished exception=AttributeError("'NoneType' object has no attribute 'encode'")>
  807. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 967, in run
  808. Mar 22 13:24:06 openwebui start.sh[145]: result = context.run(func, *args)
  809. Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 905, in save_docs_to_vector_db
  810. Mar 22 13:24:06 openwebui start.sh[145]: raise e
  811. Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 883, in save_docs_to_vector_db
  812. Mar 22 13:24:06 openwebui start.sh[145]: embeddings = embedding_function(
  813. Mar 22 13:24:06 openwebui start.sh[145]: └ <function get_embedding_function.<locals>.<lambda> at 0x7576a589bd80>
  814. Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/retrieval/utils.py", line 314, in <lambda>
  815. Mar 22 13:24:06 openwebui start.sh[145]: return lambda query, user=None: embedding_function.encode(query).tolist()
  816. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ ['Jahreskalender der kuriosen Feiertage Zum Inhalt springen www.kuriose-feiertage.deFeiertage weltweit & kalendarische Kuri...
  817. Mar 22 13:24:06 openwebui start.sh[145]: │ └ None
  818. Mar 22 13:24:06 openwebui start.sh[145]: └ ['Jahreskalender der kuriosen Feiertage Zum Inhalt springen www.kuriose-feiertage.deFeiertage weltweit & kalendarische Kuri...
  819. Mar 22 13:24:06 openwebui start.sh[145]: AttributeError: 'NoneType' object has no attribute 'encode'
  820. Mar 22 13:24:06 openwebui start.sh[145]: 2025-03-22 13:24:06.160 | ERROR | open_webui.utils.middleware:chat_web_search_handler:376 - 400: [ERROR: 'NoneType' object has no attribute 'encode'] - {}
  821. Mar 22 13:24:06 openwebui start.sh[145]: Traceback (most recent call last):
  822. Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 1464, in process_web_search
  823. Mar 22 13:24:06 openwebui start.sh[145]: await run_in_threadpool(
  824. Mar 22 13:24:06 openwebui start.sh[145]: └ <function run_in_threadpool at 0x757709af4fe0>
  825. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/concurrency.py", line 37, in run_in_threadpool
  826. Mar 22 13:24:06 openwebui start.sh[145]: return await anyio.to_thread.run_sync(func)
  827. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ functools.partial(<function save_docs_to_vector_db at 0x7576d7445620>, <starlette.requests.Request object at 0x7576a56ba290>,...
  828. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <function run_sync at 0x75770c239260>
  829. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <module 'anyio.to_thread' from '/usr/local/lib/python3.11/dist-packages/anyio/to_thread.py'>
  830. Mar 22 13:24:06 openwebui start.sh[145]: └ <module 'anyio' from '/usr/local/lib/python3.11/dist-packages/anyio/__init__.py'>
  831. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/to_thread.py", line 56, in run_sync
  832. Mar 22 13:24:06 openwebui start.sh[145]: return await get_async_backend().run_sync_in_worker_thread(
  833. Mar 22 13:24:06 openwebui start.sh[145]: └ <function get_async_backend at 0x75770c23a8e0>
  834. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 2470, in run_sync_in_worker_thread
  835. Mar 22 13:24:06 openwebui start.sh[145]: return await future
  836. Mar 22 13:24:06 openwebui start.sh[145]: └ <Future finished exception=AttributeError("'NoneType' object has no attribute 'encode'")>
  837. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/anyio/_backends/_asyncio.py", line 967, in run
  838. Mar 22 13:24:06 openwebui start.sh[145]: result = context.run(func, *args)
  839. Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 905, in save_docs_to_vector_db
  840. Mar 22 13:24:06 openwebui start.sh[145]: raise e
  841. Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 883, in save_docs_to_vector_db
  842. Mar 22 13:24:06 openwebui start.sh[145]: embeddings = embedding_function(
  843. Mar 22 13:24:06 openwebui start.sh[145]: └ <function get_embedding_function.<locals>.<lambda> at 0x7576a589bd80>
  844. Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/retrieval/utils.py", line 314, in <lambda>
  845. Mar 22 13:24:06 openwebui start.sh[145]: return lambda query, user=None: embedding_function.encode(query).tolist()
  846. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ ['Jahreskalender der kuriosen Feiertage Zum Inhalt springen www.kuriose-feiertage.deFeiertage weltweit & kalendarische Kuri...
  847. Mar 22 13:24:06 openwebui start.sh[145]: │ └ None
  848. Mar 22 13:24:06 openwebui start.sh[145]: └ ['Jahreskalender der kuriosen Feiertage Zum Inhalt springen www.kuriose-feiertage.deFeiertage weltweit & kalendarische Kuri...
  849. Mar 22 13:24:06 openwebui start.sh[145]: AttributeError: 'NoneType' object has no attribute 'encode'
  850. Mar 22 13:24:06 openwebui start.sh[145]: During handling of the above exception, another exception occurred:
  851. Mar 22 13:24:06 openwebui start.sh[145]: Traceback (most recent call last):
  852. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/bin/uvicorn", line 8, in <module>
  853. Mar 22 13:24:06 openwebui start.sh[145]: sys.exit(main())
  854. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <Command main>
  855. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <built-in function exit>
  856. Mar 22 13:24:06 openwebui start.sh[145]: └ <module 'sys' (built-in)>
  857. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1161, in __call__
  858. Mar 22 13:24:06 openwebui start.sh[145]: return self.main(*args, **kwargs)
  859. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ {}
  860. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ ()
  861. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function BaseCommand.main at 0x75770c2dbb00>
  862. Mar 22 13:24:06 openwebui start.sh[145]: └ <Command main>
  863. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1082, in main
  864. Mar 22 13:24:06 openwebui start.sh[145]: rv = self.invoke(ctx)
  865. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <click.core.Context object at 0x75770cfc85d0>
  866. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function Command.invoke at 0x75770c2f0720>
  867. Mar 22 13:24:06 openwebui start.sh[145]: └ <Command main>
  868. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 1443, in invoke
  869. Mar 22 13:24:06 openwebui start.sh[145]: return ctx.invoke(self.callback, **ctx.params)
  870. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ │ └ {'host': '0.0.0.0', 'port': <replaced>, 'forwarded_allow_ips': '*', 'app': 'open_webui.main:app', 'uds': None, 'fd': None, 'reload'...
  871. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ <click.core.Context object at 0x75770cfc85d0>
  872. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function main at 0x75770c12de40>
  873. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <Command main>
  874. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function Context.invoke at 0x75770c2db060>
  875. Mar 22 13:24:06 openwebui start.sh[145]: └ <click.core.Context object at 0x75770cfc85d0>
  876. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/click/core.py", line 788, in invoke
  877. Mar 22 13:24:06 openwebui start.sh[145]: return __callback(*args, **kwargs)
  878. Mar 22 13:24:06 openwebui start.sh[145]: │ └ {'host': '0.0.0.0', 'port': <replaced>, 'forwarded_allow_ips': '*', 'app': 'open_webui.main:app', 'uds': None, 'fd': None, 'reload'...
  879. Mar 22 13:24:06 openwebui start.sh[145]: └ ()
  880. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/main.py", line 412, in main
  881. Mar 22 13:24:06 openwebui start.sh[145]: run(
  882. Mar 22 13:24:06 openwebui start.sh[145]: └ <function run at 0x75770c351bc0>
  883. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/main.py", line 579, in run
  884. Mar 22 13:24:06 openwebui start.sh[145]: server.run()
  885. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function Server.run at 0x75770c38f1a0>
  886. Mar 22 13:24:06 openwebui start.sh[145]: └ <uvicorn.server.Server object at 0x75770c331d90>
  887. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/uvicorn/server.py", line 66, in run
  888. Mar 22 13:24:06 openwebui start.sh[145]: return asyncio.run(self.serve(sockets=sockets))
  889. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ None
  890. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function Server.serve at 0x75770c38f240>
  891. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <uvicorn.server.Server object at 0x75770c331d90>
  892. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function run at 0x75770cb70400>
  893. Mar 22 13:24:06 openwebui start.sh[145]: └ <module 'asyncio' from '/usr/lib/python3.11/asyncio/__init__.py'>
  894. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
  895. Mar 22 13:24:06 openwebui start.sh[145]: return runner.run(main)
  896. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <coroutine object Server.serve at 0x75770c0f5120>
  897. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function Runner.run at 0x75770c52bce0>
  898. Mar 22 13:24:06 openwebui start.sh[145]: └ <asyncio.runners.Runner object at 0x75770d4168d0>
  899. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
  900. Mar 22 13:24:06 openwebui start.sh[145]: return self._loop.run_until_complete(task)
  901. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <Task pending name='Task-1' coro=<Server.serve() running at /usr/local/lib/python3.11/dist-packages/uvicorn/server.py:70> wai...
  902. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <cyfunction Loop.run_until_complete at 0x75770c1076b0>
  903. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <uvloop.Loop running=True closed=False debug=False>
  904. Mar 22 13:24:06 openwebui start.sh[145]: └ <asyncio.runners.Runner object at 0x75770d4168d0>
  905. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/middleware/base.py", line 141, in coro
  906. Mar 22 13:24:06 openwebui start.sh[145]: await self.app(scope, receive_or_disconnect, send_no_error)
  907. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x75769f54fc40>
  908. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  909. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  910. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7576acffe190>
  911. Mar 22 13:24:06 openwebui start.sh[145]: └ <open_webui.main.RedirectMiddleware object at 0x7576acf0fdd0>
  912. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/middleware/exceptions.py", line 62, in __call__
  913. Mar 22 13:24:06 openwebui start.sh[145]: await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
  914. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x75769f54fc40>
  915. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  916. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  917. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <starlette.requests.Request object at 0x7576ab189950>
  918. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
  919. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7576acffe190>
  920. Mar 22 13:24:06 openwebui start.sh[145]: └ <function wrap_app_handling_exceptions at 0x7577098662a0>
  921. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
  922. Mar 22 13:24:06 openwebui start.sh[145]: await app(scope, receive, sender)
  923. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  924. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  925. Mar 22 13:24:06 openwebui start.sh[145]: │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  926. Mar 22 13:24:06 openwebui start.sh[145]: └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
  927. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 715, in __call__
  928. Mar 22 13:24:06 openwebui start.sh[145]: await self.middleware_stack(scope, receive, send)
  929. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  930. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  931. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  932. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <bound method Router.app of <fastapi.routing.APIRouter object at 0x7576d5238bd0>>
  933. Mar 22 13:24:06 openwebui start.sh[145]: └ <fastapi.routing.APIRouter object at 0x7576d5238bd0>
  934. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 735, in app
  935. Mar 22 13:24:06 openwebui start.sh[145]: await route.handle(scope, receive, send)
  936. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  937. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  938. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  939. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function Route.handle at 0x757709867880>
  940. Mar 22 13:24:06 openwebui start.sh[145]: └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
  941. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 288, in handle
  942. Mar 22 13:24:06 openwebui start.sh[145]: await self.app(scope, receive, send)
  943. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  944. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  945. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  946. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function request_response.<locals>.app at 0x7576ac9a9760>
  947. Mar 22 13:24:06 openwebui start.sh[145]: └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
  948. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 76, in app
  949. Mar 22 13:24:06 openwebui start.sh[145]: await wrap_app_handling_exceptions(app, request)(scope, receive, send)
  950. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54ce00>
  951. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  952. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  953. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <starlette.requests.Request object at 0x7576a56ba290>
  954. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function request_response.<locals>.app.<locals>.app at 0x75769f54e480>
  955. Mar 22 13:24:06 openwebui start.sh[145]: └ <function wrap_app_handling_exceptions at 0x7577098662a0>
  956. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/_exception_handler.py", line 42, in wrapped_app
  957. Mar 22 13:24:06 openwebui start.sh[145]: await app(scope, receive, sender)
  958. Mar 22 13:24:06 openwebui start.sh[145]: │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x75769f54f060>
  959. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x75769f54e8e0>
  960. Mar 22 13:24:06 openwebui start.sh[145]: │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('<replaced>', <replaced>),...
  961. Mar 22 13:24:06 openwebui start.sh[145]: └ <function request_response.<locals>.app.<locals>.app at 0x75769f54e480>
  962. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/starlette/routing.py", line 73, in app
  963. Mar 22 13:24:06 openwebui start.sh[145]: response = await f(request)
  964. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <starlette.requests.Request object at 0x7576a56ba290>
  965. Mar 22 13:24:06 openwebui start.sh[145]: └ <function get_request_handler.<locals>.app at 0x7576ac9a98a0>
  966. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/fastapi/routing.py", line 301, in app
  967. Mar 22 13:24:06 openwebui start.sh[145]: raw_response = await run_endpoint_function(
  968. Mar 22 13:24:06 openwebui start.sh[145]: └ <function run_endpoint_function at 0x7577096a56c0>
  969. Mar 22 13:24:06 openwebui start.sh[145]: File "/usr/local/lib/python3.11/dist-packages/fastapi/routing.py", line 212, in run_endpoint_function
  970. Mar 22 13:24:06 openwebui start.sh[145]: return await dependant.call(**values)
  971. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ {'user': UserModel(id='<replaced>', name='<replaced>', email='<replaced>', role='admin', ...
  972. Mar 22 13:24:06 openwebui start.sh[145]: │ └ <function chat_completion at 0x7576ac9a9ee0>
  973. Mar 22 13:24:06 openwebui start.sh[145]: └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[ModelField(field_info=Body(Pydant...
  974. Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/main.py", line 1043, in chat_completion
  975. Mar 22 13:24:06 openwebui start.sh[145]: form_data, metadata, events = await process_chat_payload(
  976. Mar 22 13:24:06 openwebui start.sh[145]: │ │ └ <function process_chat_payload at 0x7576d57d8400>
  977. Mar 22 13:24:06 openwebui start.sh[145]: │ └ {'user_id': '<replaced>', 'chat_id': '1caf4a0a-1217-4156-b9aa-5a824d7cee97', 'message_id': '3f2c177...
  978. Mar 22 13:24:06 openwebui start.sh[145]: └ {'stream': True, 'model': 'gpt-4o-mini', 'messages': [{'role': 'system', 'content': 'Du bist ein hilfreicher, informativer un...
  979. Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/utils/middleware.py", line 736, in process_chat_payload
  980. Mar 22 13:24:06 openwebui start.sh[145]: form_data = await chat_web_search_handler(
  981. Mar 22 13:24:06 openwebui start.sh[145]: └ <function chat_web_search_handler at 0x7576d57d9580>
  982. Mar 22 13:24:06 openwebui start.sh[145]: > File "/opt/open-webui/backend/open_webui/utils/middleware.py", line 341, in chat_web_search_handler
  983. Mar 22 13:24:06 openwebui start.sh[145]: results = await process_web_search(
  984. Mar 22 13:24:06 openwebui start.sh[145]: └ <function process_web_search at 0x7576d747eca0>
  985. Mar 22 13:24:06 openwebui start.sh[145]: File "/opt/open-webui/backend/open_webui/routers/retrieval.py", line 1481, in process_web_search
  986. Mar 22 13:24:06 openwebui start.sh[145]: raise HTTPException(
  987. Mar 22 13:24:06 openwebui start.sh[145]: └ <class 'fastapi.exceptions.HTTPException'>
  988. Mar 22 13:24:06 openwebui start.sh[145]: fastapi.exceptions.HTTPException: 400: [ERROR: 'NoneType' object has no attribute 'encode']
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement