Fix project isolation: Make loadChatHistory respect active project sessions
- Modified loadChatHistory() to check for active project before fetching all sessions - When active project exists, use project.sessions instead of fetching from API - Added detailed console logging to debug session filtering - This prevents ALL sessions from appearing in every project's sidebar Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
5
logs/chat-monitor/failure-1769071613244.json
Normal file
5
logs/chat-monitor/failure-1769071613244.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"sessionId": "session-1769071553847-xz1o05kk9",
|
||||
"failureType": "browser_sse_error",
|
||||
"error": "[SSE] session-output: {\"_eventType\":\"session-output\",\"sessionId\":\"session-1769071553847-xz1o05kk9\",\"type\":\"stdout\",\"content\":\"Hello! I'm ready to help you build web applications automatically. \\n\\nJust tell me what you'd like to create and I'll generate the files for you right away. For example:\\n- \\\"Build a todo app\\\"\\n- \\\"Create a weather dashboard\\\"\\n- \\\"Make a portfolio website\\\"\\n\\nWhat would you like me to build?\",\"_timestamp\":1769071568312}"
|
||||
}
|
||||
Reference in New Issue
Block a user