diff --git a/packages/tfcode/package.json b/packages/tfcode/package.json index 2bce5958a..2fef6e32a 100644 --- a/packages/tfcode/package.json +++ b/packages/tfcode/package.json @@ -1,6 +1,6 @@ { "$schema": "https://json.schemastore.org/package.json", - "version": "1.0.26", + "version": "1.0.29", "name": "@toothfairyai/tfcode", "type": "module", "license": "MIT", diff --git a/packages/tfcode/src/tool/read.ts b/packages/tfcode/src/tool/read.ts index 477dd1f06..a4baa8fd8 100644 --- a/packages/tfcode/src/tool/read.ts +++ b/packages/tfcode/src/tool/read.ts @@ -227,9 +227,9 @@ export const ReadTool = Tool.define("read", { const count = (counts.get(key) ?? 0) + 1 counts.set(key, count) - if (count >= 3) { + if (count >= 30) { const warning = - count === 3 + count === 30 ? `\n\n ⚠️ WARNING: You have read this file ${count} times in this session. This indicates a verification loop. Your previous edits to this file have been applied successfully. Do NOT read this file again to "verify" -