mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-04 16:13:11 +00:00
Refactor agent loop (#4412)
This commit is contained in:
@@ -43,7 +43,7 @@ export namespace SystemPrompt {
|
||||
` Platform: ${process.platform}`,
|
||||
` Today's date: ${new Date().toDateString()}`,
|
||||
`</env>`,
|
||||
`<project>`,
|
||||
`<files>`,
|
||||
` ${
|
||||
project.vcs === "git"
|
||||
? await Ripgrep.tree({
|
||||
@@ -52,7 +52,7 @@ export namespace SystemPrompt {
|
||||
})
|
||||
: ""
|
||||
}`,
|
||||
`</project>`,
|
||||
`</files>`,
|
||||
].join("\n"),
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user