conductor(checkpoint): Checkpoint end of Phase 2
This commit is contained in:
@@ -2489,6 +2489,7 @@ class AppController:
|
||||
"active_preset": self.ui_global_preset_name,
|
||||
}
|
||||
self.config["ai"]["system_prompt"] = self.ui_global_system_prompt
|
||||
self.config["ai"]["tool_instructions"] = self.ui_global_tool_instructions
|
||||
self.config["projects"] = {"paths": self.project_paths, "active": self.active_project_path}
|
||||
from src import bg_shader
|
||||
# Update gui section while preserving other keys like bg_shader_enabled
|
||||
|
||||
+6
-2
@@ -4275,8 +4275,12 @@ def hello():
|
||||
imgui.set_item_tooltip("Open preset management modal")
|
||||
ch, self.ui_global_system_prompt = imgui.input_text_multiline("##gsp", self.ui_global_system_prompt, imgui.ImVec2(-1, 100))
|
||||
imgui.separator()
|
||||
imgui.text("Project System Prompt")
|
||||
current_project = self.controller.ui_project_preset_name or "Select Preset..."
|
||||
imgui.text("Global Tool Instructions")
|
||||
ch, self.ui_global_tool_instructions = imgui.input_text_multiline("##gti", getattr(self, "ui_global_tool_instructions", ""), imgui.ImVec2(-1, 100))
|
||||
if imgui.is_item_hovered():
|
||||
imgui.set_tooltip("Instructions given to the agent about how to use its tools.")
|
||||
imgui.separator()
|
||||
imgui.text("Project System Prompt") current_project = self.controller.ui_project_preset_name or "Select Preset..."
|
||||
imgui.set_next_item_width(200)
|
||||
if imgui.begin_combo("##project_preset", current_project):
|
||||
for name in preset_names:
|
||||
|
||||
Reference in New Issue
Block a user