Spaces:
Sleeping
Sleeping
Update static/main.js
Browse files- static/main.js +1 -1
static/main.js
CHANGED
|
@@ -127,7 +127,7 @@ function renderLatencyPanel(timings) {
|
|
| 127 |
: "";
|
| 128 |
const llmPct = total > 0 ? Math.round(((timings.llm || 0) / total) * 100) : 0;
|
| 129 |
const llmCallout = llmPct > 50
|
| 130 |
-
? `<div class="llm-callout">
|
| 131 |
: "";
|
| 132 |
|
| 133 |
container.innerHTML = `
|
|
|
|
| 127 |
: "";
|
| 128 |
const llmPct = total > 0 ? Math.round(((timings.llm || 0) / total) * 100) : 0;
|
| 129 |
const llmCallout = llmPct > 50
|
| 130 |
+
? `<div class="llm-callout">LLM generation is <b>${llmPct}%</b> of total time (${timings.llm}ms) — retrieval is fast</div>`
|
| 131 |
: "";
|
| 132 |
|
| 133 |
container.innerHTML = `
|