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

Plugin initialization fails due to inability to write to non-existent model data #280

Closed yangbobo2021 closed 6 months ago

yangbobo2021 commented 6 months ago

Issue Description

Some users have reported that the plugin fails to initialize properly because it cannot write to model data that no longer exists. This issue seems to be correlated with specific versions of VSCode.

Possible Solution

To address this issue, it is proposed to skip the data migration for configurations pertinent to older versions during the plugin's initialization phase. With the upcoming release that includes an internal configuration UI for the plugin, it will no longer be necessary to handle writing to non-existent models. Therefore, adjusting the initialization process to bypass these legacy data concerns should provide a temporary solution until the new version is released.

Action Items

This approach aims to minimize disruption for users and maintain plugin functionality across various VSCode versions until the comprehensive update is available.