shu/update v2 prompt (#2271)

This commit is contained in:
Shuchang Zheng
2025-05-01 00:34:00 -07:00
committed by GitHub
parent de32f8058b
commit 4803baff70

View File

@@ -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: