Prevent duplicate sessions when starting a new project

This commit is contained in:
Alex Gleason committed 2025-09-24 15:10:09 -05:00
1 parent 568ea5dc04
commit 2e38591943
2 files changed
+5

No files matched your search

+1
View File
@@ -178,6 +178,7 @@ export class SessionManager {
* Start AI generation for a session
*/
async startGeneration(projectId: string, providerModel: string): Promise<void> {
console.log('Starting AI generation for project:', projectId, 'with model:', providerModel);
let session = this.sessions.get(projectId);
if (!session) {