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:
20
.agent/metrics/metrics_20260122_125036.json
Normal file
20
.agent/metrics/metrics_20260122_125036.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"summary": {
|
||||
"iterations": 0,
|
||||
"successful": 0,
|
||||
"failed": 0,
|
||||
"errors": 0,
|
||||
"checkpoints": 0,
|
||||
"rollbacks": 0
|
||||
},
|
||||
"iterations": [],
|
||||
"cost": {
|
||||
"total": 0.0,
|
||||
"by_tool": {},
|
||||
"history": []
|
||||
},
|
||||
"analysis": {
|
||||
"avg_iteration_duration": 0.0,
|
||||
"success_rate": 0.0
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user