feat : improve planner agent handling of multifiles project

This commit is contained in:
martin legrand
2025-04-07 12:02:01 +02:00
parent 416d9d00ad
commit a1e71fd0ce
6 changed files with 29 additions and 10 deletions
+3 -1
View File
@@ -37,9 +37,11 @@ class PlannerAgent(Agent):
lines = text.strip().split('\n')
for line in lines:
if line is None or len(line) == 0:
if line is None:
continue
line = line.strip()
if len(line) == 0:
continue
if '##' in line or line[0].isdigit():
tasks_names.append(line)
continue