{% block rendered_context -%}
<|SECTION:CONTEXT|>
{%- with memory_query=scene.snapshot() -%}
    {% include "extra-context.jinja2" %}
{% endwith %}
<|CLOSE_SECTION|>
{% endblock -%}
<|SECTION:SCENE|>
{% for scene_context in scene.context_history(budget=min(2048, max_tokens-300-count_tokens(self.rendered_context())), min_dialogue=20, sections=False) -%}
{{ scene_context }}
{% endfor %}
<|CLOSE_SECTION|>
<|SECTION:TASK|>
Continue the unfinished section of the next narrative.

Your response MUST only be the new parts of the narrative completion, not the entire line. Never add dialogue.

Continue this text: {{ input }}
{% if not can_coerce -%}
Continuation: 
<|CLOSE_SECTION|>
{%- else -%}
<|CLOSE_SECTION|>
{{ bot_token }}{{ input }}
{%- endif -%}