Skyvern/skyvern/forge/prompts/skyvern/workflow-copilot-user.j2
2026-03-19 15:32:45 -07:00

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 }}
```