Closed MrGrinst closed 2 months ago
Hi @MrGrinst , is this the same functionality as the PR by @quolpr ?
Yes, I prefer this method because it's easier to implement and use. I'm currently working on it and will integrate it as a completely optional feature within a few minutes.
Thank you very much, @MrGrinst, for this pull request. To avoid confusion with the system template, I have limited it to user templates. Users can now utilize the {{filecontent}}
in their templates to inject file content. I also included a brief example in the readme.
This looks great, thanks for updating and merging!
It'd be helpful in a lot of cases for the LLM to get the context of the whole file for completions/replacements. This PR adds an
{{entire_file}}
value that can be used in a template.Example prompt I have it working with: