ai is trying to cheat out of finishing the tests still
This commit is contained in:
@@ -120,6 +120,9 @@ class App:
|
||||
self._log_registry: Optional[log_registry.LogRegistry] = None
|
||||
self.perf_profiling_enabled = False
|
||||
self.perf_show_graphs: dict[str, bool] = {}
|
||||
self._token_stats: dict[str, Any] = {}
|
||||
self._token_stats_dirty: bool = True
|
||||
self.perf_history: dict[str, list] = {"frame_time": [0.0] * 100, "fps": [0.0] * 100}
|
||||
|
||||
def _handle_approve_tool(self, user_data=None) -> None:
|
||||
"""UI-level wrapper for approving a pending tool execution ask."""
|
||||
@@ -1951,7 +1954,7 @@ class App:
|
||||
self._push_mma_state_update()
|
||||
|
||||
def _cb_kill_ticket(self, ticket_id: str) -> None:
|
||||
if self.controller and self.controller.engine:
|
||||
if self.controller and hasattr(self.controller, 'engine') and self.controller.engine:
|
||||
self.controller.engine.kill_worker(ticket_id)
|
||||
|
||||
def _cb_block_ticket(self, ticket_id: str) -> None:
|
||||
@@ -2296,7 +2299,7 @@ class App:
|
||||
pass
|
||||
imgui.same_line()
|
||||
imgui.text(f"Status: {self.mma_status.upper()}")
|
||||
if self.controller and self.controller.engine and hasattr(self.controller.engine, '_pause_event'):
|
||||
if self.controller and hasattr(self.controller, 'engine') and self.controller.engine and hasattr(self.controller.engine, '_pause_event'):
|
||||
imgui.same_line()
|
||||
is_paused = self.controller.engine._pause_event.is_set()
|
||||
label = "Resume" if is_paused else "Pause"
|
||||
|
||||
Reference in New Issue
Block a user