fix: Remove default model configuration

- Removed the code that sets the default model in the configuration
- This change is to address the issue where the default model was being incorrectly set
- Simplified the configuration migration process by removing unnecessary steps
This commit is contained in:
bobo.yang 2024-06-17 21:14:31 +08:00
parent 4114a606b6
commit 3589d497f1

View File

@ -113,13 +113,6 @@ async function migrateConfig() {
} else {
devchatConfig.set("language", "en");
}
const defaultModel = vscode.workspace.getConfiguration("devchat").get("defaultModel");
if (defaultModel) {
devchatConfig.set("default_model", defaultModel);
} else {
devchatConfig.set("default_model", "");
}
}
// fix devchat api base is "custom"