Tell the model not to create .bak files (#28244)

Release Notes:

- Adjusted system prompt to avoid having the agent create backup files
unnecessarily.
This commit is contained in:
Richard Feldman 2025-04-08 14:45:35 -04:00 committed by GitHub
parent 9fb77ad176
commit 1c85901440
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View file

@ -16,7 +16,7 @@ use util::markdown::MarkdownString;
#[derive(Debug, Serialize, Deserialize, JsonSchema)]
pub struct BashToolInput {
/// The bash command to execute as a one-liner.
/// The bash one-liner command to execute.
command: String,
/// Working directory for the command. This must be one of the root directories of the project.
cd: String,