diff --git a/app/meet/page.tsx b/app/meet/page.tsx index 5bc2da0..3b44a8c 100644 --- a/app/meet/page.tsx +++ b/app/meet/page.tsx @@ -63,6 +63,7 @@ export default function MeetRoomPage() { botConnectionRef.current = new DirectLine({ domain: 'https://generalbots.online/directline/PROD-GeneralBots006', userId: userId, + userIdOnStartConversation: userId, conversationId: data.conversationId, webSocket: false // Force WebSocket connection } as any); @@ -74,7 +75,7 @@ export default function MeetRoomPage() { if (activity.text) { setBotTyping(false) setMessages(prev => [...prev, { - sender: 'AI Assistant', + sender: 'General Bots', text: activity.text, isBot: true }]) @@ -85,14 +86,14 @@ export default function MeetRoomPage() { // Send welcome message setMessages(prev => [...prev, { sender: 'System', - text: 'AI assistant joined the meeting', + text: 'General Bots joined the meeting', isBot: true }]); } catch (error) { console.error('Error connecting to bot:', error); setMessages(prev => [...prev, { sender: 'System', - text: 'Failed to connect AI assistant', + text: 'Failed to connect General Bots', isBot: true }]); } @@ -178,9 +179,9 @@ export default function MeetRoomPage() { className="flex-1" >
- {/* Video Area - Enhanced with better contrast and controls */} +
- +