mirror of
https://github.com/lukaszraczylo/traefik-llmgateway.git
synced 2026-11-26 10:06:31 +00:00
fix(webui): guard provider totals and model panel against stale responses
This commit is contained in:
@@ -66,6 +66,7 @@ let reqId = 0
|
||||
async function loadSeries(): Promise<void> {
|
||||
const id = ++reqId
|
||||
seriesLoading.value = true
|
||||
points.value = []
|
||||
try {
|
||||
const res = await adminFetch<AdminSeriesResponse>(seriesUrl({ scope: [`model:${props.id}`], metric: 'req', window: filters.window, span: filters.span }))
|
||||
if (id !== reqId) return
|
||||
|
||||
Reference in New Issue
Block a user