Skip to content

Automate browser based workflows with AI

delete unnecessary newline in prompt (#609)

Kerem Yilmazce2d605f98cc
diff --git a/skyvern/forge/prompts/skyvern/extract-action.j2 b/skyvern/forge/prompts/skyvern/extract-action.j2
index 6cb96b0c8..ed3e61e97 100644
--- a/skyvern/forge/prompts/skyvern/extract-action.j2
+++ b/skyvern/forge/prompts/skyvern/extract-action.j2
@@ -35,8 +35,8 @@ Reply in JSON format with the following keys:
{% endif %}
}],
}
-
{% if action_history %}
+
Consider the action history from the last step and the screenshot together, if actions from the last step don't yield positive impact, try other actions or other action combinations.
{% endif %}
@@ -51,12 +51,11 @@ User goal:
```
{{ navigation_goal }}
```
-
{% if error_code_mapping_str %}
+
Use the error codes and their descriptions to surface user-defined errors. Do not return any error that's not defined by the user. User defined errors:
{{ error_code_mapping_str }}
{% endif %}
-
{% if data_extraction_goal %}
User Data Extraction Goal: