Private
Public Access
0
0

gemini quota exhausted: fixing regressions in test suite

This commit is contained in:
2026-05-16 14:45:06 -04:00
parent 49082e5036
commit bf5b426c24
17 changed files with 223 additions and 152 deletions
+7 -6
View File
@@ -119,12 +119,13 @@ class App:
# --- Initialization ---
self.controller.init_state()
from src.hot_reloader import HotReloader, HotModule
HotReloader.register(HotModule(
name='src.gui_2',
file_path=__file__,
state_keys=['active_discussion', 'show_windows', 'ui_file_paths', 'ui_screenshot_paths', 'disc_entries', 'disc_roles'],
delegation_targets=['_render_main_interface', '_render_discussion_hub', '_render_files_and_media', '_render_ai_settings_hub', '_render_operations_hub', '_render_mma_dashboard']
))
if 'src.gui_2' not in HotReloader.HOT_MODULES:
HotReloader.register(HotModule(
name='src.gui_2',
file_path=__file__,
state_keys=['active_discussion', 'show_windows', 'ui_file_paths', 'ui_screenshot_paths', 'disc_entries', 'disc_roles'],
delegation_targets=['_render_main_interface', '_render_discussion_hub', '_render_files_and_media', '_render_ai_settings_hub', '_render_operations_hub', '_render_mma_dashboard']
))
self.workspace_manager = workspace_manager.WorkspaceManager(project_root=self.controller.active_project_root)
self.disc_entries = self.controller.disc_entries
self.disc_roles = self.controller.disc_roles
+2
View File
@@ -18,6 +18,8 @@ class HotReloader:
@classmethod
def register(cls, module: HotModule) -> None:
if module.name in cls.HOT_MODULES:
raise ValueError(f"Module {module.name} already registered")
cls.HOT_MODULES[module.name] = module
@classmethod