    const logsContent = document.getElementById('logsContent');
      const providerDialog = document.getElementById('providerDialog');
      const apiKeyDialog = document.getElementById('apiKeyDialog');
      const providerSelect = document.getElementById('providerSelect');
      const apiKeyInput = document.getElementById('apiKeyInput');
      const saveApiKeyBtn = document.getElementById('saveApiKeyBtn');
      const saveApiDetailsBtn = document.getElementById('saveApiDetailsBtn');
      const languageSe