From 3fae1f49e7d3657ad2a259afb4ad21556a3db080 Mon Sep 17 00:00:00 2001
From: Alessandro <155005371+3clyp50@users.noreply.github.com>
Date: Tue, 23 Jun 2026 20:07:59 +0200
Subject: [PATCH] Expose context window size in model settings
Move the ctx_length control for main and utility model slots above the Advanced disclosure while keeping embeddings excluded. Add a static regression guard so primary context controls stay visible outside Advanced.
---
plugins/_model_config/webui/model-field.html | 26 ++++++++++----------
tests/test_model_config_api_keys.py | 5 +++-
2 files changed, 17 insertions(+), 14 deletions(-)
diff --git a/plugins/_model_config/webui/model-field.html b/plugins/_model_config/webui/model-field.html
index 92802edc0..7a9ad3ae7 100644
--- a/plugins/_model_config/webui/model-field.html
+++ b/plugins/_model_config/webui/model-field.html
@@ -141,6 +141,19 @@
+
+
+