mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac
This commit is contained in:
parent
a05966af96
commit
cf72f5503f
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue