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

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

{% if agent.access_url_name and agent.display_url_name %}

{{ agent.category.icon }} {{ agent.name }} - External Consultation

This consultation will redirect you to our specialized external form for personalized guidance.

{% if user.is_authenticated %} {% if agent.price == 0 %} {{ agent.category.icon }} Start {{ agent.name }} Consultation (FREE) {% elif user.wallet_balance >= agent.price %} {{ agent.category.icon }} Start {{ agent.name }} Consultation ({{ agent.price }} AED) {% else %}
Insufficient balance! You need {{ agent.price }} AED.
💰 Top Up Wallet {% endif %} {% else %} 🔐 Login to Continue {% endif %}
{% else %}
{% 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' %} {% elif field.type == 'file' %}
{% 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 %}
{% endif %}
{% include "components/how_it_works_widget.html" with steps="agents" %}
{% include "components/processing_status.html" with status_title="Processing..." status_text="Please wait while we execute your agent..." %} {% include "components/results_container.html" with results_title="Agent Results" %}
{% endblock %} {% block extra_js %} {% endblock %}