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:
committed by
GitHub
parent
b8e756aa8d
commit
3a9e5533c9
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user