diff --git a/package.json b/package.json index 6945cb5..22b92d6 100644 --- a/package.json +++ b/package.json @@ -155,7 +155,7 @@ }, { "command": "DevChat.OPENAI_API_KEY", - "title": "DEVCHAT_API_KEY", + "title": "Input Access Key", "category": "DevChat" }, { diff --git a/src/contributes/commands.ts b/src/contributes/commands.ts index 2b2913d..48d6bc2 100644 --- a/src/contributes/commands.ts +++ b/src/contributes/commands.ts @@ -68,7 +68,8 @@ export function registerApiKeySettingCommand(context: vscode.ExtensionContext) { vscode.commands.registerCommand('DevChat.OPENAI_API_KEY', async () => { const passwordInput: string = await vscode.window.showInputBox({ password: true, - title: "OPENAI_API_KEY" + title: "Input Access Key", + placeHolder: "Set OPENAI_API_KEY (or DevChat Access Key)" }) ?? ''; ApiKeyManager.writeApiKeySecret(passwordInput);