From 97131c24fe31c0af3ec26e3a3e93ad688be2c112 Mon Sep 17 00:00:00 2001 From: Nate Date: Fri, 4 Jul 2025 15:36:24 -0700 Subject: [PATCH 1/2] hotfix for read file tool --- core/llm/countTokens.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/llm/countTokens.ts b/core/llm/countTokens.ts index 9ca8d1fe8..2297813b4 100644 --- a/core/llm/countTokens.ts +++ b/core/llm/countTokens.ts @@ -60,7 +60,10 @@ function asyncEncoderForModel(modelName: string): AsyncEncoder { const modelType = autodetectTemplateType(modelName); if (!modelType || modelType === "none") { - return gptAsyncEncoder; + // Right now there is a problem packaging js-tiktoken in workers. Until then falling back + // Cannot find package 'js-tiktoken' imported from /Users/nate/gh/continuedev/continue/extensions/vscode/out/tiktokenWorkerPool.mjs + // return gptAsyncEncoder; + return llamaAsyncEncoder; } return llamaAsyncEncoder; } From fb70b61ac44e20f20fd980cb414ddb2211cb58be Mon Sep 17 00:00:00 2001 From: Nate Date: Fri, 4 Jul 2025 15:36:34 -0700 Subject: [PATCH 2/2] bump package.json --- extensions/vscode/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index cc1c10e27..7d5c2a12a 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.56", + "version": "1.1.57", "repository": { "type": "git", "url": "https://github.com/continuedev/continue"