Skip to content

Commit dfecfaf

Browse files
author
Your Name
committed
Fix current tasks assignment for to do list on lower versions of python
1 parent 4e5ac47 commit dfecfaf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

cecli/coders/agent_coder.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1433,9 +1433,11 @@ def get_todo_list(self):
14331433
content = self.io.read_text(abs_path)
14341434
if content is None or not content.strip():
14351435
return None
1436+
1437+
current_tasks = "\n".join(self.current_tasks)
14361438
result = '<context name="todo_list" from="agent">\n'
14371439
result += "## Current Active Tasks\n\n"
1438-
result += f"```{"\n".join(self.current_tasks)}```\n"
1440+
result += f"```{current_tasks}```\n"
14391441
result += "</context>"
14401442
return result
14411443
except Exception as e:

0 commit comments

Comments
 (0)