From 237f10d6ef0314919455282ecf58cdac7804e8c7 Mon Sep 17 00:00:00 2001 From: southseact-3d Date: Thu, 19 Feb 2026 14:56:02 +0000 Subject: [PATCH] fix: remove Model ID field from public models in admin Public models are now display-only and don't require a Model ID: - Removed Model ID input field from admin.html public models section - Updated admin.js to not require or send Model ID for public models - Updated server API to accept public models without Model ID - Uses display label as the identifier for public models - Only requires Model ID for OpenCode models (which need it for execution) Public models are purely for user-facing display in the builder dropdown, while OpenCode models form the actual execution fallback chain. --- chat/public/admin.html | 4 ---- chat/public/admin.js | 8 -------- chat/server.js | 10 ++++++++-- 3 files changed, 8 insertions(+), 14 deletions(-) diff --git a/chat/public/admin.html b/chat/public/admin.html index 0a98f97..b41211b 100644 --- a/chat/public/admin.html +++ b/chat/public/admin.html @@ -120,10 +120,6 @@

These models are displayed to users in the builder dropdown for selection. This is separate from the OpenCode fallback chain.

-