feat(mma): Integrate Tier 4 QA analysis across all providers and conductor
This commit is contained in:
4
gui_2.py
4
gui_2.py
@@ -1066,7 +1066,7 @@ class App:
|
||||
self.is_viewing_prior_session = True
|
||||
self.ai_status = f"viewing prior session: {Path(path).name} ({len(entries)} entries)"
|
||||
|
||||
def _confirm_and_run(self, script: str, base_dir: str) -> str | None:
|
||||
def _confirm_and_run(self, script: str, base_dir: str, qa_callback: Optional[Callable[[str], str]] = None) -> str | None:
|
||||
print(f"[DEBUG] _confirm_and_run triggered for script length: {len(script)}")
|
||||
dialog = ConfirmDialog(script, base_dir)
|
||||
|
||||
@@ -1106,7 +1106,7 @@ class App:
|
||||
|
||||
self.ai_status = "running powershell..."
|
||||
print(f"[DEBUG] Running powershell in {base_dir}")
|
||||
output = shell_runner.run_powershell(final_script, base_dir)
|
||||
output = shell_runner.run_powershell(final_script, base_dir, qa_callback=qa_callback)
|
||||
self._append_tool_log(final_script, output)
|
||||
self.ai_status = "powershell done, awaiting AI..."
|
||||
return output
|
||||
|
||||
Reference in New Issue
Block a user