The autonomous loop was crashing on every decision with: TypeError: can't subtract offset-naive and offset-aware datetimes because MongoDB stores created_at without timezone info but the code compared it against datetime.now(timezone.utc). - conversation_context_service: make created_at timezone-aware before subtraction (replace tzinfo=utc when naive) - DiscussionPanel: fix sync effect — when server reports AI mode is inactive, always clear localAiModeActive regardless of its value, so the "AI is generating..." spinner doesn't get stuck when the backend fails/stops before the frontend has confirmed AI mode started Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| auth | ||
| models | ||
| routes | ||
| services | ||
| utils | ||
| .DS_Store | ||
| __init__.py | ||
| db.py | ||
| extensions.py | ||
| websocket_debug_tap.py | ||
| websocket_manager.py | ||
| websocket_manager_async.py | ||