summaryrefslogtreecommitdiffstats
path: root/assets/arena.html
diff options
context:
space:
mode:
Diffstat (limited to 'assets/arena.html')
-rw-r--r--assets/arena.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/arena.html b/assets/arena.html
index b43c464..9808084 100644
--- a/assets/arena.html
+++ b/assets/arena.html
@@ -565,7 +565,7 @@
async init() {
try {
const models = await fetchJSON(MODELS_API);
- this.models = models;
+ this.models = models.filter(v => !v.mode || v.mode === "chat");
} catch (err) {
toast("No available model");
console.error("Failed to load models", err);