This commit is contained in:
2026-02-21 18:33:55 -05:00
parent c4a3034093
commit 383a3f3971
6 changed files with 174 additions and 564 deletions

6
gui.py
View File

@@ -329,6 +329,8 @@ class App:
self.config.get("discussion", {}).get("history", [])
)
self.disc_entries: list[dict] = _parse_history_entries(self.history)
ai_cfg = self.config.get("ai", {})
self.current_provider: str = ai_cfg.get("provider", "gemini")
self.current_model: str = ai_cfg.get("model", "gemini-2.0-flash")
@@ -653,7 +655,7 @@ class App:
def do_send():
try:
response = ai_client.send(self.last_md, user_msg, base_dir, file_items_snap)
response = ai_client.send(self.last_md, user_msg, base_dir)
self._update_response(response)
self._update_status("done")
except Exception as e:
@@ -940,3 +942,5 @@ def main():
if __name__ == "__main__":
main()