Skip to content

Instantly share code, notes, and snippets.

@ferrislucas
Created April 14, 2023 19:24
Show Gist options
  • Save ferrislucas/e43ce36b49f37efe28e7414de4b71399 to your computer and use it in GitHub Desktop.
Save ferrislucas/e43ce36b49f37efe28e7414de4b71399 to your computer and use it in GitHub Desktop.
{% if context.files.size > 0 %}You will be provided the contents of some files.
The contents of each file begin with "--BEGIN-FILE:" followed by the file path.
The contents of each file end with "--END-FILE--".{% endif %}
Your instructions are: {{prompt}}
{% if context.files.size > 0 %}The file contents are below:{% endif %}
{% for item in context.files %}
--BEGIN-FILE: {{ item.filename }}
{{ item.content }}
--END-FILE--
{% endfor %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment