From 4803baff706f99c16a40e3a912a985f07affc7c7 Mon Sep 17 00:00:00 2001 From: Shuchang Zheng Date: Thu, 1 May 2025 00:34:00 -0700 Subject: [PATCH] shu/update v2 prompt (#2271) --- skyvern/services/task_v2_service.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/skyvern/services/task_v2_service.py b/skyvern/services/task_v2_service.py index 1d29aaca..18f60cbe 100644 --- a/skyvern/services/task_v2_service.py +++ b/skyvern/services/task_v2_service.py @@ -63,9 +63,11 @@ DEFAULT_WORKFLOW_TITLE = "New Workflow" RANDOM_STRING_POOL = string.ascii_letters + string.digits DEFAULT_MAX_ITERATIONS = 10 -MINI_GOAL_TEMPLATE = """Achieve the following mini goal and once it's achieved, complete: {mini_goal} +MINI_GOAL_TEMPLATE = """Achieve the following mini goal and once it's achieved, complete: +```{mini_goal}``` -This mini goal is part of the big goal the user wants to achieve and use the big goal as context to achieve the mini goal: {main_goal}""" +This mini goal is part of the big goal the user wants to achieve and use the big goal as context to achieve the mini goal: +```{main_goal}```""" def _generate_data_extraction_schema_for_loop(loop_values_key: str) -> dict: