Timothy Jaeryang Baek 4 tuần trước cách đây
mục cha
commit
cf72f5503f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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: