add back error code description in the main prompt (#3410)
This commit is contained in:
@@ -30,6 +30,11 @@ Terminate Criterion:
|
||||
```
|
||||
{{ terminate_criterion }}
|
||||
```{% endif %}
|
||||
{% 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 %}
|
||||
|
||||
User details:
|
||||
```
|
||||
|
||||
@@ -49,6 +49,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:
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user