mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
refac
This commit is contained in:
@@ -2042,7 +2042,7 @@ async def process_chat_response(
|
|||||||
)
|
)
|
||||||
usage = data.get("usage", {})
|
usage = data.get("usage", {})
|
||||||
usage.update(
|
usage.update(
|
||||||
data.get("timing", {})
|
data.get("timings", {})
|
||||||
) # llama.cpp
|
) # llama.cpp
|
||||||
|
|
||||||
if usage:
|
if usage:
|
||||||
|
|||||||
Reference in New Issue
Block a user