mirror of
https://github.com/open-webui/open-webui
synced 2025-01-18 08:40:58 +00:00
fix: leaderboard
Co-Authored-By: silentoplayz <50341825+silentoplayz@users.noreply.github.com>
This commit is contained in:
parent
0c6e9e3e86
commit
73ab84efe6
@ -107,7 +107,7 @@
|
|||||||
rankedModels = $models
|
rankedModels = $models
|
||||||
.filter((m) => m?.owned_by !== 'arena' && (m?.info?.meta?.hidden ?? false) !== true)
|
.filter((m) => m?.owned_by !== 'arena' && (m?.info?.meta?.hidden ?? false) !== true)
|
||||||
.map((model) => {
|
.map((model) => {
|
||||||
const stats = modelStats.get(model.name);
|
const stats = modelStats.get(model.id);
|
||||||
return {
|
return {
|
||||||
...model,
|
...model,
|
||||||
rating: stats ? Math.round(stats.rating) : '-',
|
rating: stats ? Math.round(stats.rating) : '-',
|
||||||
|
Loading…
Reference in New Issue
Block a user