delete unnecessary newline in prompt (#609)

This commit is contained in:
Kerem Yilmaz
2024-07-17 11:28:25 -07:00
committed by GitHub
parent e80a849972
commit ce2d605f98

View File

@@ -35,8 +35,8 @@ Reply in JSON format with the following keys:
{% endif %} {% endif %}
}], }],
} }
{% if action_history %} {% 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. 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 %} {% endif %}
@@ -51,12 +51,11 @@ User goal:
``` ```
{{ navigation_goal }} {{ navigation_goal }}
``` ```
{% if error_code_mapping_str %} {% 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: 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 }} {{ error_code_mapping_str }}
{% endif %} {% endif %}
{% if data_extraction_goal %} {% if data_extraction_goal %}
User Data Extraction Goal: User Data Extraction Goal: