avante.nvim/lua/avante/templates/_memory.avanterules
Aaron Pham 2b89f0d529
perf(anthropic): prompt-caching (#517)
bring back prompt caching support on Anthropic

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
2024-09-04 03:19:33 -04:00

13 lines
219 B
Django/Jinja

{%- if use_xml_format -%}
{%- if memory_context -%}
<memory_context>
{{memory_context}}
</memory_context>
{%- endif %}
{%- else -%}
{%- if memory_context -%}
MEMORY CONTEXT:
{{memory_context}}
{%- endif %}
{%- endif %}