diff --git a/manualslop_layout.ini b/manualslop_layout.ini index 91baf57..1301a83 100644 --- a/manualslop_layout.ini +++ b/manualslop_layout.ini @@ -458,8 +458,8 @@ Column 0 Width=87 Column 1 Weight=1.0000 [Table][0x9CB1E6FD,2] -RefScale=17 -Column 0 Width=200 +RefScale=14 +Column 0 Width=164 Column 1 Weight=1.0000 [Docking][Data] diff --git a/presets.toml b/presets.toml index fef9079..a510b1a 100644 --- a/presets.toml +++ b/presets.toml @@ -1,5 +1,2 @@ [presets.Default] system_prompt = "" -temperature = 0.0 -top_p = 1.0 -max_output_tokens = 32000 diff --git a/src/gui_2.py b/src/gui_2.py index 7b0e984..9bfa892 100644 --- a/src/gui_2.py +++ b/src/gui_2.py @@ -1010,9 +1010,12 @@ class App: imgui.dummy(imgui.ImVec2(0, 4)) if imgui.button("Save##p", imgui.ImVec2(100, 0)): if self._editing_preset_name.strip(): - p = models.Preset(name=self._editing_preset_name.strip(), system_prompt=self._editing_preset_system_prompt) - self.controller._cb_save_preset(p, self._editing_preset_scope) - self.ai_status = f"Saved: {p.name}" + self.controller._cb_save_preset( + self._editing_preset_name.strip(), + self._editing_preset_system_prompt, + self._editing_preset_scope + ) + self.ai_status = f"Saved: {self._editing_preset_name}" imgui.same_line() if imgui.button("Delete##p", imgui.ImVec2(100, 0)): if self._editing_preset_name: @@ -1456,7 +1459,6 @@ class App: ch, self.ui_auto_scroll_comms = imgui.checkbox("Auto-scroll Comms History", self.ui_auto_scroll_comms) ch, self.ui_auto_scroll_tool_calls = imgui.checkbox("Auto-scroll Tool History", self.ui_auto_scroll_tool_calls) if self.perf_profiling_enabled: self.perf_monitor.end_component("_render_projects_panel") - def _render_track_proposal_modal(self) -> None: if self._show_track_proposal_modal: imgui.open_popup("Track Proposal")