mirror of
https://github.com/open-webui/open-webui
synced 2024-11-25 21:38:43 +00:00
show prompt/s in perf info ⏰
This commit is contained in:
parent
9c3be59015
commit
2eaad82a91
@ -79,6 +79,11 @@
|
||||
) / 100
|
||||
} tokens` ?? 'N/A'
|
||||
}<br/>
|
||||
prompt/s: ${
|
||||
Math.round(
|
||||
((message.info.prompt_eval_count ?? 0) / (message.info.prompt_eval_duration / 1000000000)) * 100
|
||||
) / 100 ?? 'N/A'
|
||||
} prompts<br/>
|
||||
total_duration: ${
|
||||
Math.round(((message.info.total_duration ?? 0) / 1000000) * 100) / 100 ??
|
||||
'N/A'
|
||||
|
Loading…
Reference in New Issue
Block a user