From cf59647704828e0b2f577c13b3969b6ad8b0884b Mon Sep 17 00:00:00 2001 From: Philipp Spiess Date: Wed, 4 Oct 2023 12:48:55 +0200 Subject: [PATCH] Autocomplete: Remove outdated embeddings config (#1308) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Leftover from removing the embeddings context from Autocomplete ## Test plan 👀 --- vscode/package.json | 8 +------- vscode/src/configuration.test.ts | 2 -- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/vscode/package.json b/vscode/package.json index e4e5c8634949..21c22e90dbc2 100644 --- a/vscode/package.json +++ b/vscode/package.json @@ -923,13 +923,7 @@ "llama-code-13b", "llama-code-13b-instruct" ], - "markdownDescription": "Overwrite the default model used for code autocompletion inference. This is only supported with the `unstable-fireworks` provider" - }, - "cody.autocomplete.advanced.embeddings": { - "order": 99, - "type": "boolean", - "default": true, - "markdownDescription": "Enables the use of embeddings as code completions context." + "markdownDescription": "Overwrite the model used for code autocompletion inference. This is only supported with the `unstable-fireworks` provider" }, "cody.autocomplete.completeSuggestWidgetSelection": { "type": "boolean", diff --git a/vscode/src/configuration.test.ts b/vscode/src/configuration.test.ts index 38dee0325e66..5b6e03d180a9 100644 --- a/vscode/src/configuration.test.ts +++ b/vscode/src/configuration.test.ts @@ -102,8 +102,6 @@ describe('getConfiguration', () => { return 'starcoder-32b' case 'cody.autocomplete.advanced.accessToken': return 'foobar' - case 'cody.autocomplete.advanced.embeddings': - return false case 'cody.autocomplete.completeSuggestWidgetSelection': return false case 'cody.autocomplete.experimental.syntacticPostProcessing':