fix(gui): cap persona system prompt text box height at 300px

This commit is contained in:
2026-05-10 16:35:28 -04:00
parent 6b43e2f5cd
commit e0f1d7840f
+1
View File
@@ -1956,6 +1956,7 @@ class App:
elif self._persona_prompt_open: h1, h2 = 0, rem_y
else: h1, h2 = 0, 0
h1 = min(h1, 300)
h2 = min(h2, 300)
imgui.dummy(imgui.ImVec2(0, 4))
opened_models = imgui.collapsing_header("Preferred Models", imgui.TreeNodeFlags_.default_open)