');
                    
                    // Check if this conversation already exists
                    const existingIndex = conversations.findIndex(c => c.id === conversationId);
                    
                    if (existingIndex === -1) {
                        // Add new conversation
                        conversations.push({
                            id: conversationId,
                            title: data.conversation.title || 'Shared Conversation',
                            ti