From 82dfba8456c98c74579c89279db975965ab3dad0 Mon Sep 17 00:00:00 2001 From: "bobo.yang" Date: Wed, 20 Sep 2023 14:39:24 +0800 Subject: [PATCH] remove useless key setting --- package.json | 55 --------------------------------- src/contributes/commandsBase.ts | 2 +- 2 files changed, 1 insertion(+), 56 deletions(-) diff --git a/package.json b/package.json index b6727cd..eb7da96 100644 --- a/package.json +++ b/package.json @@ -409,66 +409,11 @@ "title": "Input Access Key for OpenAI", "category": "DevChat" }, - { - "command": "DevChat.AccessKey.Cohere", - "title": "Input Access Key for Cohere", - "category": "DevChat" - }, { "command": "DevChat.AccessKey.Anthropic", "title": "Input Access Key for Anthropic", "category": "DevChat" }, - { - "command": "DevChat.AccessKey.Replicate", - "title": "Input Access Key for Replicate", - "category": "DevChat" - }, - { - "command": "DevChat.AccessKey.HuggingFace", - "title": "Input Access Key for HuggingFace", - "category": "DevChat" - }, - { - "command": "DevChat.AccessKey.TogetherAI", - "title": "Input Access Key for TogetherAI", - "category": "DevChat" - }, - { - "command": "DevChat.AccessKey.OpenRouter", - "title": "Input Access Key for OpenRouter", - "category": "DevChat" - }, - { - "command": "DevChat.AccessKey.VertexAI", - "title": "Input Access Key for VertexAI", - "category": "DevChat" - }, - { - "command": "DevChat.AccessKey.AI21", - "title": "Input Access Key for AI21", - "category": "DevChat" - }, - { - "command": "DevChat.AccessKey.BaseTen", - "title": "Input Access Key for BaseTen", - "category": "DevChat" - }, - { - "command": "DevChat.AccessKey.Azure", - "title": "Input Access Key for Azure", - "category": "DevChat" - }, - { - "command": "DevChat.AccessKey.SageMaker", - "title": "Input Access Key for SageMaker", - "category": "DevChat" - }, - { - "command": "DevChat.AccessKey.Bedrock", - "title": "Input Access Key for Bedrock", - "category": "DevChat" - }, { "command": "DevChat.AccessKey.DevChat", "title": "Input Access Key for DevChat", diff --git a/src/contributes/commandsBase.ts b/src/contributes/commandsBase.ts index 3eb4b0a..eb9b991 100644 --- a/src/contributes/commandsBase.ts +++ b/src/contributes/commandsBase.ts @@ -14,7 +14,7 @@ export function checkDevChatDependency(showError: boolean = true): boolean { try { // Check if DevChat is installed - const expectVersion = 'DevChat 0.2.5'; + const expectVersion = 'DevChat 0.2.6'; const devchatVersion = runCommand(`"${devChat}" --version`).toString().trim(); if (devchatVersion < expectVersion) { logger.channel()?.info(`devchat version: ${devchatVersion}, but expect version: ${expectVersion}`);