fixes
This commit is contained in:
6
gui.py
6
gui.py
@@ -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()
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user