bring back prompt caching support on Anthropic Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
		
			
				
	
	
		
			13 lines
		
	
	
		
			219 B
		
	
	
	
		
			Django/Jinja
		
	
	
	
	
	
			
		
		
	
	
			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 %}
 |