Compare commits

..

2 Commits

Author SHA1 Message Date
Ed_
b70552f1d7 gui adjsutments 2026-03-07 22:36:07 -05:00
Ed_
a65dff4b6d a test for a test 2026-03-07 22:29:08 -05:00
3 changed files with 13 additions and 8 deletions

View File

@@ -98,6 +98,7 @@ This file tracks all major tracks for the project. Each track has its own detail
23. [x] **Track: Test Regression Verification**
*Link: [./tracks/test_regression_verification_20260307/](./tracks/test_regression_verification_20260307/)*
---
## Completed / Archived

View File

@@ -1071,7 +1071,11 @@ def _send_gemini_cli(md_content: str, user_message: str, base_dir: str,
send_payload = payload
if isinstance(payload, list):
send_payload = json.dumps(payload)
resp_data = adapter.send(cast(str, send_payload), safety_settings=safety_settings, system_instruction=sys_instr, model=_model, stream_callback=stream_callback)
try:
resp_data = adapter.send(cast(str, send_payload), safety_settings=safety_settings, system_instruction=sys_instr, model=_model, stream_callback=stream_callback)
except Exception as e:
events.emit("response_received", payload={"provider": "gemini_cli", "model": _model, "usage": {}, "latency": 0, "round": r_idx, "error": str(e)})
raise
cli_stderr = resp_data.get("stderr", "")
if cli_stderr:
sys.stderr.write(f"\n--- Gemini CLI stderr ---\n{cli_stderr}\n-------------------------\n")

View File

@@ -1056,6 +1056,8 @@ class App:
if imgui.button("Refresh Registry"):
self._log_registry = log_registry.LogRegistry(str(paths.get_logs_dir() / "log_registry.toml"))
imgui.same_line()
if imgui.button("Force Prune Logs"):
self.controller.event_queue.put("gui_task", {"action": "click", "item": "btn_prune_logs"})
registry = self._log_registry
sessions = registry.data
@@ -1110,8 +1112,6 @@ class App:
)
imgui.end_table()
if imgui.button("Force Prune Logs"):
self.controller.event_queue.put("gui_task", {"action": "click", "item": "btn_prune_logs"})
if self.perf_profiling_enabled: self.perf_monitor.end_component("_render_log_management")
imgui.end()
@@ -1714,21 +1714,21 @@ class App:
with self._send_thread_lock:
if self.send_thread and self.send_thread.is_alive():
send_busy = True
if imgui.button("Inject File"):
self.show_inject_modal = True
imgui.same_line()
if (imgui.button("Gen + Send") or ctrl_enter) and not send_busy:
self._handle_generate_send()
imgui.same_line()
if imgui.button("MD Only"):
self._handle_md_only()
imgui.same_line()
if imgui.button("Reset"):
self._handle_reset_session()
if imgui.button("Inject File"):
self.show_inject_modal = True
imgui.same_line()
if imgui.button("-> History"):
if self.ui_ai_input:
self.disc_entries.append({"role": "User", "content": self.ui_ai_input, "collapsed": False, "ts": project_manager.now_ts()})
imgui.same_line()
if imgui.button("Reset"):
self._handle_reset_session()
if self.perf_profiling_enabled: self.perf_monitor.end_component("_render_message_panel")
def _render_response_panel(self) -> None: