perf(anthropic): prompt-caching (#517)
bring back prompt caching support on Anthropic Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
12
lua/avante/templates/_project.avanterules
Normal file
12
lua/avante/templates/_project.avanterules
Normal file
@@ -0,0 +1,12 @@
|
||||
{%- if use_xml_format -%}
|
||||
{%- if project_context -%}
|
||||
<project_context>
|
||||
{{project_context}}
|
||||
</project_context>
|
||||
{%- endif %}
|
||||
{%- else -%}
|
||||
{%- if project_context -%}
|
||||
PROJECT CONTEXT:
|
||||
{{project_context}}
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
Reference in New Issue
Block a user