Skip to content

Commit 8ec159b

Browse files
author
Yogthos
committed
Fix agent-reminders: use push_str instead of format! with no args
format!() with no interpolation args is needless — replaced with push_str.
1 parent 8d19876 commit 8ec159b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/agent/builder.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,9 @@ pub async fn build_agent_inner<M: CompletionModel + 'static>(
121121
.unwrap_or_else(|_| ".".into())
122122
.join("PLAN.md");
123123
if plan_path.exists() {
124-
preamble.push_str(&format!(
124+
preamble.push_str(
125125
"\n\n---\n\nA plan file exists at PLAN.md. Execute the plan step by step. Write and test code following the plan. Report progress after each step. The plan is your guide — follow it closely."
126-
));
126+
);
127127
}
128128
}
129129
_ => {}

0 commit comments

Comments
 (0)