Run {{ flock.name }} - {{ selected_agent_name }}

{% if error_message %} {% endif %} {% if selected_agent_name and not error_message %} {# Only show form if no fatal error and agent is selected #}
{# Hidden input for the fixed agent name #} {# Add share_id as a hidden input to be sent with the form #} {# flock_definition_str hidden input is no longer needed #} {# {% if flock_definition_str %} #} {# #} {# {% endif %} #} {# Dynamically generated input fields #} {% if input_fields %}

Inputs for {{ selected_agent_name }}:

{% for field in input_fields %} {% if field.html_type == "checkbox" %} {% elif field.html_type == "textarea" %} {% else %} {% endif %} {% endfor %} {% elif flock and selected_agent_name in flock.agents and not flock.agents[selected_agent_name].input %}

Agent {{ selected_agent_name }} requires no inputs.

{% elif not error_message %}

Could not determine inputs for agent {{ selected_agent_name }}. The input signature might be missing or invalid.

{% endif %} Running...
Execution Results

Results will appear here after running the Flock.

{% elif not error_message %}

This shared link is not configured correctly. No agent specified or an issue occurred loading the configuration.

{% endif %}