<|SECTION:CHARACTERS|>
{# active characters #}{% for character in scene.characters %}
### {{ character.name }}
{% if max_tokens > 6000 -%}
{{ character.sheet }}
{% else -%}
{{ character.filtered_sheet(['age', 'gender']) }}
{{ query_memory("what is "+character.name+"'s personality?", as_question_answer=False) }}
{% endif %}
{{ character.description }}
{% endfor %}
{# mentioned characters #}{% if mentioned_characters -%}
{% for character in mentioned_characters -%}
### {{ character.name }}
{{ character.description }}
{% endfor %}
{% endif %}
<|CLOSE_SECTION|>