From c6a12550ffca1ffe35630e7aa9af6913ddbe0675 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Sat, 29 Jul 2023 22:40:04 -0700 Subject: feat: :sparkles: EmbeddingContextProvider --- extension/src/suggestions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extension') diff --git a/extension/src/suggestions.ts b/extension/src/suggestions.ts index 5c2b8860..b5be341d 100644 --- a/extension/src/suggestions.ts +++ b/extension/src/suggestions.ts @@ -72,7 +72,7 @@ export function rerenderDecorations(editorUri: string) { range.end.character === 0 ) { // Empty range, don't show it - continue; + continue; // is great } newRanges.push( new vscode.Range( -- cgit v1.2.3-70-g09d2 From c51ad538deff06af6c9e5498b23e3536e18bfc4c Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Mon, 31 Jul 2023 00:52:37 -0700 Subject: fix: :lipstick: logo alignment, better config failure description, patch --- continuedev/src/continuedev/core/sdk.py | 2 +- .../src/continuedev/plugins/policies/default.py | 2 +- extension/media/terminal-continue.png | Bin 36669 -> 7891 bytes extension/package-lock.json | 4 ++-- extension/package.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'extension') diff --git a/continuedev/src/continuedev/core/sdk.py b/continuedev/src/continuedev/core/sdk.py index 4b76a121..50b89a8b 100644 --- a/continuedev/src/continuedev/core/sdk.py +++ b/continuedev/src/continuedev/core/sdk.py @@ -171,7 +171,7 @@ class ContinueSDK(AbstractContinueSDK): formatted_err = '\n'.join(traceback.format_exception(e)) msg_step = MessageStep( name="Invalid Continue Config File", message=formatted_err) - msg_step.description = f"Falling back to default config settings.\n```\n{formatted_err}\n```" + msg_step.description = f"Falling back to default config settings.\n```\n{formatted_err}\n```\n\nIt's possible this error was caused by an update to the Continue config format. If you'd like to see the new recommended default `config.py`, check [here](https://github.com/continuedev/continue/blob/main/continuedev/src/continuedev/libs/constants/default_config.py.txt)." sdk.history.add_node(HistoryNode( step=msg_step, observation=None, diff --git a/continuedev/src/continuedev/plugins/policies/default.py b/continuedev/src/continuedev/plugins/policies/default.py index 2e7573f3..523c2cf4 100644 --- a/continuedev/src/continuedev/plugins/policies/default.py +++ b/continuedev/src/continuedev/plugins/policies/default.py @@ -75,6 +75,6 @@ class DefaultPolicy(Policy): if user_input.startswith("/edit"): return EditHighlightedCodeStep(user_input=user_input[5:]) - return self.default_step + return self.default_step.copy() return None diff --git a/extension/media/terminal-continue.png b/extension/media/terminal-continue.png index ef310fa3..27667fe9 100644 Binary files a/extension/media/terminal-continue.png and b/extension/media/terminal-continue.png differ diff --git a/extension/package-lock.json b/extension/package-lock.json index 6f289260..4c0b7093 100644 --- a/extension/package-lock.json +++ b/extension/package-lock.json @@ -1,12 +1,12 @@ { "name": "continue", - "version": "0.0.227", + "version": "0.0.228", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "continue", - "version": "0.0.227", + "version": "0.0.228", "license": "Apache-2.0", "dependencies": { "@electron/rebuild": "^3.2.10", diff --git a/extension/package.json b/extension/package.json index 5d0ccad2..df54bb4f 100644 --- a/extension/package.json +++ b/extension/package.json @@ -14,7 +14,7 @@ "displayName": "Continue", "pricing": "Free", "description": "The open-source coding autopilot", - "version": "0.0.227", + "version": "0.0.228", "publisher": "Continue", "engines": { "vscode": "^1.67.0" -- cgit v1.2.3-70-g09d2