Explorar o código

temporarily disable project details in system prompt

Dax Raad hai 1 ano
pai
achega
b99d4650ec
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      packages/opencode/src/session/system.ts

+ 3 - 3
packages/opencode/src/session/system.ts

@@ -82,9 +82,9 @@ export namespace SystemPrompt {
         `  Platform: ${process.platform}`,
         `  Today's date: ${new Date().toDateString()}`,
         `</env>`,
-        `<project>`,
-        `  ${app.git ? await tree() : ""}`,
-        `</project>`,
+        // `<project>`,
+        // `  ${app.git ? await tree() : ""}`,
+        // `</project>`,
       ].join("\n"),
     ]
   }