{% extends 'base.html' %} {% load humanize %} {% load gameui %} {% block title_head %} Attack sandbox {% endblock title_head %} {% block content %}

Attack sandbox 🛝

{% csrf_token %}

You can use this page to try out attacks and defenses. It will not change your balance. Defenses and attacks submitted on this page will show up under “Test attacks” on the home page. You are currently using this AI model: {% llm_choice_selector account %}

Opening Defense
{% settings_value 'MAX_DEFENSE_PRE_PROMPT_LENGTH_TOKENS' as initial_length_pre_prompt %} {% include "token_notifications.html" with id="#defense_pre_prompt" field_name="defense_pre_prompt" initial_tokens=initial_length_pre_prompt %}
Attack
{% settings_value 'MAX_ATTACK_LENGTH_TOKENS' as initial_length %} {% include "token_notifications.html" with id="#attacker_input" field_name="attacker_input" initial_tokens=initial_length %}
Closing Defense
{% settings_value 'MAX_DEFENSE_POST_PROMPT_LENGTH_TOKENS' as initial_length_post_prompt %} {% include "token_notifications.html" with id="#defense_post_prompt" field_name="defense_post_prompt" initial_tokens=initial_length_post_prompt %}
Go Back â†Šī¸
{% include "absolute_spinner.html" %}
{% endblock %}