mentById('ai-search-input');
      const searchButton = document.getElementById('ai-search-button');
      var chatContainer = document.getElementById('chat-container');
      
      searchButton.addEventListener('click', handleSearch);
      searchInput.addEventListener('keypress', (e) => {
        if (e.key === 'Enter') {
          handleSearch();
        }
      });
      
      var chat_interface = null;
      
      function findChatInterface() {
        if (chat_interface) {
          return chat_inte