forked from open-webui/open-webui
feat: token/s added to verbose output
This commit is contained in:
parent
0fdb346a31
commit
9f66cdbb0b
1 changed files with 3 additions and 2 deletions
|
@ -34,9 +34,10 @@
|
||||||
for (const message of messages) {
|
for (const message of messages) {
|
||||||
if (message.info) {
|
if (message.info) {
|
||||||
tippy(`#info-${message.id}`, {
|
tippy(`#info-${message.id}`, {
|
||||||
content: `<span class="text-xs">total_duration: ${
|
content: `<span class="text-xs">token/s: ${
|
||||||
message.info.total_duration ?? 'N/A'
|
(message.info.eval_count ?? 0) / message.info.eval_duration ?? 'N/A'
|
||||||
}<br/>
|
}<br/>
|
||||||
|
total_duration: ${message.info.total_duration ?? 'N/A'}<br/>
|
||||||
load_duration: ${message.info.load_duration ?? 'N/A'}<br/>
|
load_duration: ${message.info.load_duration ?? 'N/A'}<br/>
|
||||||
sample_count: ${message.info.sample_count ?? 'N/A'}<br/>
|
sample_count: ${message.info.sample_count ?? 'N/A'}<br/>
|
||||||
sample_duration: ${message.info.sample_duration ?? 'N/A'}<br/>
|
sample_duration: ${message.info.sample_duration ?? 'N/A'}<br/>
|
||||||
|
|
Loading…
Reference in a new issue