Skip to content
2 changes: 1 addition & 1 deletion src/services/env-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export class EnvService {
envStartLastUsed: env.envStartLastUsed ?? currentEnvStartLastUsed,
complEnabled: env.complEnabled ?? currentComplEnabled,
};
shouldSelect = await Utils.confirmAction(
shouldSelect = await Utils.confirmEnvAction(
"You are about to select the env below. If there are local models inside, they will be downloaded (if not yet done) and llama.cpp server(s) will be started.\n\n Do you want to continue?",
this.getEnvDetailsAsString(tempEnv)
);
Expand Down
2 changes: 1 addition & 1 deletion src/tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ export class Tools {

try {
if (!this.app.configuration.tool_permit_file_changes){
let [yesApply, yesDontAsk] = await Utils.showYesYesdontaskNoDialog("Do you permit file " + filePath + " to be changed?")
let [yesApply, yesDontAsk] = await Utils.confirmFilePermissionAction("Do you permit file to be changed?", filePath)
if (yesDontAsk) {
this.app.configuration.updateConfigValue("tool_permit_file_changes", true)
vscode.window.showInformationMessage("Setting tool_permit_file_changes is set to true.")
Expand Down
Loading