Timothy Jaeryang Baek hai 1 mes
pai
achega
cf72f5503f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      backend/open_webui/utils/middleware.py

+ 1 - 1
backend/open_webui/utils/middleware.py

@@ -2042,7 +2042,7 @@ async def process_chat_response(
                                             )
                                         usage = data.get("usage", {})
                                         usage.update(
-                                            data.get("timing", {})
+                                            data.get("timings", {})
                                         )  # llama.cpp
 
                                         if usage: