mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 05:24:02 +00:00
feat: token/s added to verbose output
This commit is contained in:
parent
0fdb346a31
commit
9f66cdbb0b
@ -34,9 +34,10 @@
|
||||
for (const message of messages) {
|
||||
if (message.info) {
|
||||
tippy(`#info-${message.id}`, {
|
||||
content: `<span class="text-xs">total_duration: ${
|
||||
message.info.total_duration ?? 'N/A'
|
||||
content: `<span class="text-xs">token/s: ${
|
||||
(message.info.eval_count ?? 0) / message.info.eval_duration ?? 'N/A'
|
||||
}<br/>
|
||||
total_duration: ${message.info.total_duration ?? 'N/A'}<br/>
|
||||
load_duration: ${message.info.load_duration ?? 'N/A'}<br/>
|
||||
sample_count: ${message.info.sample_count ?? 'N/A'}<br/>
|
||||
sample_duration: ${message.info.sample_duration ?? 'N/A'}<br/>
|
||||
|
Loading…
Reference in New Issue
Block a user