This commit is contained in:
Paul Gauthier 2024-08-27 06:17:57 -07:00
parent 3f07ca6551
commit f4cd410421

View file

@ -28,11 +28,11 @@ or `aider --read CONVENTIONS.md`.
This way it is marked as read-only, and cached if prompt caching
is enabled.
## Always load conventions
You can also configure aider to always load your conventions file
in the [`.aider.conf.yml` config file](https://aider.chat/docs/config/aider_conf.html):
See below for an example of how the conventions can affect the code
that aider writes.
```yaml
# alone
@ -42,6 +42,12 @@ read: CONVENTIONS.md
read: [CONVENTIONS.md, anotherfile.txt]
```
## Example
See below for an example of how the conventions can affect the code
that aider writes.
<div class="chat-transcript" markdown="1">
> $ aider --read CONVENTIONS.md useragent.py
>