{% extends 'base.html' %} {% load static %} {% block title %}{{ agent.name }} - Quantum Tasks AI{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
{% include "workflows/components/agent_header.html" with agent_title=agent.name agent_subtitle=agent.short_description %} {% include "workflows/components/quick_agents_panel.html" %}

{{ agent.category.icon }} {{ agent.name }} Details

{% csrf_token %}

{{ agent.category.icon }} {{ agent.name }} Configuration

{% for field in agent.form_schema.fields %}
{% if field.type == 'textarea' %} {% elif field.type == 'select' %} {% elif field.type == 'text' %} {% elif field.type == 'url' %} {% elif field.type == 'checkbox' %} {% endif %} {% if field.help_text %}
{{ field.help_text }}
{% endif %}
{% endfor %}
{% if user.is_authenticated %} {% if user.wallet_balance >= agent.price %} {% else %}
Insufficient balance! You need {{ agent.price }} AED.
💰 Top Up Wallet {% endif %} {% else %} 🔐 Login to Continue {% endif %}
{% include "workflows/components/how_it_works_widget.html" with steps="agents" %}
{% include "workflows/components/processing_status.html" with status_title="Processing..." status_text="Please wait while we execute your agent..." %} {% include "workflows/components/results_container.html" with results_title="Agent Results" %}
{% endblock %} {% block extra_js %} {% endblock %}