conductor(checkpoint): Phase 3: AI Settings and Tools Simulation complete
This commit is contained in:
5
gui_2.py
5
gui_2.py
@@ -267,6 +267,8 @@ class App:
|
||||
'ai_status': 'ai_status',
|
||||
'ai_response': 'ai_response',
|
||||
'active_discussion': 'active_discussion',
|
||||
'current_provider': 'current_provider',
|
||||
'current_model': 'current_model',
|
||||
'token_budget_pct': '_token_budget_pct',
|
||||
'token_budget_label': '_token_budget_label'
|
||||
}
|
||||
@@ -505,6 +507,9 @@ class App:
|
||||
if item in self._settable_fields:
|
||||
attr_name = self._settable_fields[item]
|
||||
setattr(self, attr_name, value)
|
||||
if item in ["current_provider", "current_model"]:
|
||||
ai_client.set_provider(self.current_provider, self.current_model)
|
||||
ai_client.reset_session()
|
||||
|
||||
elif action == "click":
|
||||
item = task.get("item")
|
||||
|
||||
Reference in New Issue
Block a user