From cc05ece827bf038d2a8b5a32163e60757eca66b2 Mon Sep 17 00:00:00 2001
From: Alessandro <155005371+3clyp50@users.noreply.github.com>
Date: Tue, 21 Apr 2026 06:10:40 +0200
Subject: [PATCH] ui: show model API keys in main model settings form
Move API key input fields out of the collapsed Advanced Settings section in model field UI so keys are always visible when configuring chat/utility/embedding models. Keep existing API key behaviors (visibility toggle, reveal-on-show, dirty-state tracking, and persistence flow) unchanged while removing the extra click required to access keys.
---
plugins/_model_config/webui/model-field.html | 107 +++++++++----------
1 file changed, 53 insertions(+), 54 deletions(-)
diff --git a/plugins/_model_config/webui/model-field.html b/plugins/_model_config/webui/model-field.html
index 761a6d29b..89ce9529c 100644
--- a/plugins/_model_config/webui/model-field.html
+++ b/plugins/_model_config/webui/model-field.html
@@ -71,6 +71,59 @@
+
+
+
+
+
API key
+
Authentication key for this provider. Shared across all model slots using the same provider.