Fixed! The missing space has been added after "Description:" in the task template format. The template will now correctly output: (#884)

```
Title: [TITLE]

Description: [DESCRIPTION]
```

Instead of the previous format without the space after "Description:".
This commit is contained in:
Louis Knight-Webb
2025-09-29 15:46:49 +01:00
committed by GitHub
parent b8e756aa8d
commit 3a9e5533c9

View File

@@ -81,7 +81,7 @@ pub struct UpdateTask {
impl Task {
pub fn to_prompt(&self) -> String {
if let Some(description) = self.description.as_ref().filter(|d| !d.trim().is_empty()) {
format!("Title: {}\n\nDescription:{}", &self.title, description)
format!("Title: {}\n\nDescription: {}", &self.title, description)
} else {
self.title.clone()
}