Skip to content

Commit

Permalink
Add task goal to formatted task
Browse files Browse the repository at this point in the history
lalalune committed Jul 31, 2023
1 parent d49e5cd commit 49b9bc4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions agentagenda/main.py
Original file line number Diff line number Diff line change
@@ -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"]))

0 comments on commit 49b9bc4

Please sign in to comment.