Skip to content

The open source coding agent.

TypeScript

temporarily disable project details in system prompt

Dax Raadb99d4650ec91
diff --git a/packages/opencode/src/session/system.ts b/packages/opencode/src/session/system.ts
index de128134fe6..bdac260c4c8 100644
--- a/packages/opencode/src/session/system.ts
+++ b/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"),
]
}