@crestapps/ai-chat-ui 2.0.0-preview.168 → 2.0.0-preview.170

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ai-chat.js CHANGED
@@ -668,7 +668,7 @@ window.coreAIChatManager = function () {
668
668
  ttsInstanceId: 'ai-chat-' + Math.random().toString(36).slice(2),
669
669
  singleResponseMode: !!config.singleResponseMode,
670
670
  conversationModeEnabled: config.chatMode === 'Conversation',
671
- realtimeEnabled: config.chatMode === 'Realtime' || !!config.realtimeEnabled,
671
+ realtimeEnabled: !!config.realtimeEnabled,
672
672
  // Server-relay WebRTC transport: primary when advertised and supported; the client falls back
673
673
  // to the WebSocket path below if the peer cannot connect.
674
674
  realtimeWebRtcEnabled: config.realtimeWebRtcEnabled === true && typeof window.RTCPeerConnection === 'function',