finally (still not fully polsihed but not crashing)
This commit is contained in:
@@ -458,8 +458,8 @@ Column 0 Width=87
|
|||||||
Column 1 Weight=1.0000
|
Column 1 Weight=1.0000
|
||||||
|
|
||||||
[Table][0x9CB1E6FD,2]
|
[Table][0x9CB1E6FD,2]
|
||||||
RefScale=17
|
RefScale=14
|
||||||
Column 0 Width=200
|
Column 0 Width=164
|
||||||
Column 1 Weight=1.0000
|
Column 1 Weight=1.0000
|
||||||
|
|
||||||
[Docking][Data]
|
[Docking][Data]
|
||||||
|
|||||||
@@ -1,5 +1,2 @@
|
|||||||
[presets.Default]
|
[presets.Default]
|
||||||
system_prompt = ""
|
system_prompt = ""
|
||||||
temperature = 0.0
|
|
||||||
top_p = 1.0
|
|
||||||
max_output_tokens = 32000
|
|
||||||
|
|||||||
10
src/gui_2.py
10
src/gui_2.py
@@ -1010,9 +1010,12 @@ class App:
|
|||||||
imgui.dummy(imgui.ImVec2(0, 4))
|
imgui.dummy(imgui.ImVec2(0, 4))
|
||||||
if imgui.button("Save##p", imgui.ImVec2(100, 0)):
|
if imgui.button("Save##p", imgui.ImVec2(100, 0)):
|
||||||
if self._editing_preset_name.strip():
|
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(
|
||||||
self.controller._cb_save_preset(p, self._editing_preset_scope)
|
self._editing_preset_name.strip(),
|
||||||
self.ai_status = f"Saved: {p.name}"
|
self._editing_preset_system_prompt,
|
||||||
|
self._editing_preset_scope
|
||||||
|
)
|
||||||
|
self.ai_status = f"Saved: {self._editing_preset_name}"
|
||||||
imgui.same_line()
|
imgui.same_line()
|
||||||
if imgui.button("Delete##p", imgui.ImVec2(100, 0)):
|
if imgui.button("Delete##p", imgui.ImVec2(100, 0)):
|
||||||
if self._editing_preset_name:
|
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_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)
|
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")
|
if self.perf_profiling_enabled: self.perf_monitor.end_component("_render_projects_panel")
|
||||||
|
|
||||||
def _render_track_proposal_modal(self) -> None:
|
def _render_track_proposal_modal(self) -> None:
|
||||||
if self._show_track_proposal_modal:
|
if self._show_track_proposal_modal:
|
||||||
imgui.open_popup("Track Proposal")
|
imgui.open_popup("Track Proposal")
|
||||||
|
|||||||
Reference in New Issue
Block a user