From 49b9bc46f93f325a7d590db9d5a0b8b5a8b3c355 Mon Sep 17 00:00:00 2001 From: moon Date: Sun, 30 Jul 2023 18:54:18 -0700 Subject: [PATCH] Add task goal to formatted task --- agentagenda/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/agentagenda/main.py b/agentagenda/main.py index 7fb4aa6..113dad7 100644 --- a/agentagenda/main.py +++ b/agentagenda/main.py @@ -553,6 +553,8 @@ def get_task_as_formatted_string( # Define an empty list to store the task details task_details = [] + task_details.append("Current Task: {}".format(task["metadata"]["goal"])) + # Append each detail to the list based on the arguments if include_plan: task_details.append("Plan: {}".format(task["metadata"]["plan"]))