set default model for first install devchat

This commit is contained in:
bobo.yang 2023-09-14 16:44:41 +08:00
parent 2ca51d73fa
commit a2699cfa64

View File

@ -72,6 +72,11 @@ async function configUpdateTo_0912() {
return;
}
}
const defaultModel: any = UiUtilWrapper.getConfiguration("devchat", "defaultModel");
if (!defaultModel) {
vscode.workspace.getConfiguration("devchat").update("defaultModel", "gpt-3.5-turbo");
}
}