wip fixing regressions, removing hardcoded paths
This commit is contained in:
@@ -32,10 +32,6 @@ from src import conductor_tech_lead
|
||||
from src import multi_agent_conductor
|
||||
from src import theme
|
||||
|
||||
def save_config(config: dict[str, Any]) -> None:
|
||||
with open(models.CONFIG_PATH, "wb") as f:
|
||||
tomli_w.dump(config, f)
|
||||
|
||||
def hide_tk_root() -> Tk:
|
||||
root = Tk()
|
||||
root.withdraw()
|
||||
@@ -1298,7 +1294,7 @@ class AppController:
|
||||
self._flush_to_project()
|
||||
self._save_active_project()
|
||||
self._flush_to_config()
|
||||
save_config(self.config)
|
||||
models.save_config(self.config)
|
||||
self._set_status("config saved")
|
||||
|
||||
def _cb_disc_create(self) -> None:
|
||||
@@ -1696,7 +1692,7 @@ class AppController:
|
||||
self._flush_to_project()
|
||||
self._save_active_project()
|
||||
self._flush_to_config()
|
||||
save_config(self.config)
|
||||
models.save_config(self.config)
|
||||
track_id = self.active_track.id if self.active_track else None
|
||||
flat = project_manager.flat_config(self.project, self.active_discussion, track_id=track_id)
|
||||
full_md, path, file_items = aggregate.run(flat)
|
||||
@@ -1720,8 +1716,9 @@ class AppController:
|
||||
sys.stderr.write(f"[DEBUG] History summary length: {len(history)}\n")
|
||||
sys.stderr.flush()
|
||||
proj = project_manager.load_project(self.active_project_path)
|
||||
flat = project_manager.flat_config(proj)
|
||||
file_items = aggregate.build_file_items(Path("."), flat.get("files", {}).get("paths", []))
|
||||
flat = project_manager.flat_config(self.project)
|
||||
file_items = aggregate.build_file_items(Path(self.ui_files_base_dir), flat.get("files", {}).get("paths", []))
|
||||
|
||||
_t1_baseline = len(ai_client.get_comms_log())
|
||||
tracks = orchestrator_pm.generate_tracks(self.ui_epic_input, flat, file_items, history_summary=history)
|
||||
_t1_new = ai_client.get_comms_log()[_t1_baseline:]
|
||||
|
||||
Reference in New Issue
Block a user