mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2026-05-01 21:20:19 +00:00
57 lines
1 KiB
Django/Jinja
57 lines
1 KiB
Django/Jinja
CURRENT WORKFLOW YAML:
|
|
|
|
{% if workflow_yaml %}
|
|
The user's current workflow definition is:
|
|
|
|
```
|
|
{{ workflow_yaml }}
|
|
```
|
|
{% else %}
|
|
The user is starting with an empty workflow.
|
|
{% endif %}
|
|
|
|
PREVIOUS CONTEXT:
|
|
|
|
{% if chat_history %}
|
|
Recent conversation history:
|
|
|
|
```
|
|
{{ chat_history }}
|
|
```
|
|
{% endif %}
|
|
|
|
{% if global_llm_context %}
|
|
Overall goal (long-term memory):
|
|
|
|
```
|
|
{{ global_llm_context }}
|
|
```
|
|
{% endif %}
|
|
|
|
{% if not chat_history and not global_llm_context %}
|
|
No previous context available.
|
|
{% endif %}
|
|
|
|
DEBUGGER RUN INFORMATION:
|
|
|
|
{% if debug_run_info %}
|
|
The user has run the workflow in the debugger. Here's the most recent block execution information:
|
|
|
|
```
|
|
{{ debug_run_info }}
|
|
```
|
|
|
|
Use this information to help diagnose issues, suggest fixes, or explain what might be going wrong.
|
|
If there's a failure, analyze the failure reason and visible elements to provide specific guidance.
|
|
|
|
{% else %}
|
|
No debugger run information available. The workflow hasn't been run yet, or no run data is accessible.
|
|
{% endif %}
|
|
|
|
USER MESSAGE:
|
|
|
|
The user says:
|
|
|
|
```
|
|
{{ user_message }}
|
|
```
|