forked from open-webui/open-webui
show prompt/s in perf info ⏰
This commit is contained in:
parent
9c3be59015
commit
2eaad82a91
1 changed files with 5 additions and 0 deletions
|
@ -79,6 +79,11 @@
|
||||||
) / 100
|
) / 100
|
||||||
} tokens` ?? 'N/A'
|
} tokens` ?? 'N/A'
|
||||||
}<br/>
|
}<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: ${
|
total_duration: ${
|
||||||
Math.round(((message.info.total_duration ?? 0) / 1000000) * 100) / 100 ??
|
Math.round(((message.info.total_duration ?? 0) / 1000000) * 100) / 100 ??
|
||||||
'N/A'
|
'N/A'
|
||||||
|
|
Loading…
Reference in a new issue