This commit is contained in:
2026-03-06 12:05:24 -05:00
parent 8c4d02ee40
commit a16ed4b1ae
4 changed files with 15 additions and 5 deletions

View File

@@ -851,7 +851,9 @@ class AppController:
"action": "handle_ai_response",
"payload": payload
})
if self.test_hooks_enabled:
with self._api_event_queue_lock:
self._api_event_queue.append({"type": "response", "payload": payload})
def _handle_request_event(self, event: events.UserRequestEvent) -> None:
"""Processes a UserRequestEvent by calling the AI client."""
ai_client.current_tier = None # Ensure main discussion is untagged