devchat-ai / devchat

Automate your dev tasks with AI-powered scripts, from your IDE's chat panel.
https://www.devchat.ai
Apache License 2.0
342 stars 39 forks source link

Devchat fails to launch without admin permissions on Windows due to missing configuration #264

Closed yangbobo2021 closed 7 months ago

yangbobo2021 commented 7 months ago

Issue Overview

On Windows systems, when attempting to launch devchat without administrator privileges, the process fails. Detailed investigation indicates that the failure is due to the application attempting to read configuration information that no longer exists, resulting in null values. This issue appears to have stemmed from configuration settings being removed over the course of several version upgrades.

Steps to Reproduce

  1. Attempt to start vscode without administrator privileges on a Windows system.
  2. Launch devchat from within vscode.
  3. Observe that the devchat fails to launch.

Expected Behavior

Devchat should launch successfully without requiring administrator permissions, even if certain configurations have been removed or altered in previous updates.

Actual Behavior

Devchat fails to launch, with the underlying cause being an attempt to read non-existent configuration information, resulting in null values.

Possible Solutions

Environment

This issue has caused disruptions in the workflow for non-administrator users and needs prompt attention to ensure a smooth development experience.