ciyidogan commited on
Commit
d6a3c24
·
verified ·
1 Parent(s): 6c56d9a

Update flare-ui/src/app/services/conversation-manager.service.ts

Browse files
flare-ui/src/app/services/conversation-manager.service.ts CHANGED
@@ -268,6 +268,14 @@ export class ConversationManagerService implements OnDestroy {
268
  this.conversationConfig = { ...this.conversationConfig, ...message['config'] };
269
  }
270
  break;
 
 
 
 
 
 
 
 
271
  }
272
  } catch (error) {
273
  console.error('Error handling message:', error);
 
268
  this.conversationConfig = { ...this.conversationConfig, ...message['config'] };
269
  }
270
  break;
271
+
272
+ case 'session_started':
273
+ // Session başladı, STT durumunu kontrol et
274
+ console.log('📢 Session started:', message);
275
+ if (!message['stt_initialized']) {
276
+ this.addSystemMessage('Speech recognition failed to initialize. Voice input will not be available.');
277
+ }
278
+ break;
279
  }
280
  } catch (error) {
281
  console.error('Error handling message:', error);