From be0fc05f2bacb0bb0efe1182ea872978802a5b02 Mon Sep 17 00:00:00 2001 From: Nate Date: Sun, 9 Mar 2025 21:54:48 -0700 Subject: [PATCH] fix --- core/config/getSystemPromptDotFile.ts | 4 ++-- extensions/vscode/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/config/getSystemPromptDotFile.ts b/core/config/getSystemPromptDotFile.ts index de2c25db8..fa07b9cfd 100644 --- a/core/config/getSystemPromptDotFile.ts +++ b/core/config/getSystemPromptDotFile.ts @@ -35,7 +35,7 @@ export async function getAssistantFilesFromDir( dir: string, ): Promise<{ path: string; content: string }[]> { try { - const exists = await ide.fileExists(localPathToUri(dir)); + const exists = await ide.fileExists(dir); if (!exists) { return []; @@ -67,7 +67,7 @@ export async function getAllAssistantFiles( .map((dir) => dirsToCheck.map((d) => joinPathsToUri(dir, d))) .flat(); - fullDirs.push(getGlobalAssistantsPath()); + fullDirs.push(localPathToUri(getGlobalAssistantsPath())); assistantFiles = ( await Promise.all(fullDirs.map((dir) => getAssistantFilesFromDir(ide, dir))) diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index 46ba6fa70..e313d1ddd 100644 --- a/extensions/vscode/package.json +++ b/extensions/vscode/package.json @@ -2,7 +2,7 @@ "name": "continue", "icon": "media/icon.png", "author": "Continue Dev, Inc", - "version": "1.1.6", + "version": "1.1.7", "repository": { "type": "git", "url": "https://github.com/continuedev/continue"