{% extends "console_page.html" %} {% block console_content %}

Task Details

Created on {{ task.created_at|date:"F j, Y" }} at {{ task.created_at|time:"H:i" }}

Back to tasks
{% if task.status == 'pending' %} Pending {% elif task.status == 'in_progress' %} In Progress {% elif task.status == 'completed' %} Completed {% elif task.status == 'failed' %} Failed {% elif task.status == 'cancelled' %} Cancelled {% endif %}
{% if task.status == 'pending' or task.status == 'in_progress' %}
{% csrf_token %}
{% endif %} {% if task.status == 'completed' %} View Result {% endif %}

Task Information

Task ID
{{ task.id }}
Created
{{ task.created_at }}
Last Updated
{{ task.updated_at }}
Status
{{ task.get_status_display }}
{% if task.agent %}
Agent
{{ task.agent }}
{% endif %} {% if task.task_credit %}
Task Credit
{{ task.task_credit }}
{% endif %}

Task Prompt

{{ task.prompt }}
{% if task.error_message %}

Error

{{ task.error_message }}
{% endif %}

Execution Steps

{% if task.steps.exists %}
    {% for step in task.steps.all %}
  • {% if not forloop.last %} {% endif %}
    {{ step.step_number }}
    Step {{ step.step_number }} {% if step.is_result %} Result {% endif %}

    {{ step.created_at|date:"M d, H:i:s" }}

    {{ step.description }}

    {% if step.is_result and step.result_value %}
    {{ step.result_value|pprint }}
    {% endif %}
  • {% endfor %}
{% else %}

No steps recorded yet

Steps will appear here as the task executes

{% endif %}
{% endblock %}