mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 08:37:22 +00:00
Prevent duplicate sessions when starting a new project
This commit is contained in:
2 files changed
+5
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user