summaryrefslogtreecommitdiffstats
path: root/assets/playground.html
diff options
context:
space:
mode:
Diffstat (limited to 'assets/playground.html')
-rw-r--r--assets/playground.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/playground.html b/assets/playground.html
index 6ef1f1a..72c1e3e 100644
--- a/assets/playground.html
+++ b/assets/playground.html
@@ -741,7 +741,7 @@
async init() {
await Promise.all([
fetchJSON(MODELS_API).then(models => {
- this.models = models.filter(v => !v.mode || v.mode === "chat");
+ this.models = models.filter(v => !v.type || v.type === "chat");
}).catch(err => {
toast("No model available");
console.error("Failed to load models", err);