docs: update AI usages

This commit is contained in:
iff 2025-04-07 22:09:57 +02:00
parent 561baacb9b
commit 86241547e8
2 changed files with 8 additions and 1 deletions

View file

@ -227,7 +227,7 @@ An API key is included with the source (your distribution might have stripped th
> >
</div> </div>
[AI and API configurations](./module-request-ai/README.md) [AI usages and API configurations](./module-request-ai/README.md)
## Contributing ## Contributing

View file

@ -19,6 +19,7 @@ Configuration is done via environment variables:
- `_PR_AI_DISABLE`: Setting to any value disables AI integration - `_PR_AI_DISABLE`: Setting to any value disables AI integration
- `_PR_AI_LOCALE`: Locale in which the AI explains the suggestion. Defaults to user system locale - `_PR_AI_LOCALE`: Locale in which the AI explains the suggestion. Defaults to user system locale
- `_PR_AI_ADDITIONAL_PROMPT`: Additional prompts to be included. (Yes, you can include role-playing prompts you pervert) - `_PR_AI_ADDITIONAL_PROMPT`: Additional prompts to be included. (Yes, you can include role-playing prompts you pervert)
- `User's environment is Zsh running in Arch Linux.`
- `You are a cute catgirl. Always use cute phrases and expressions to prove your cuteness in the note, including cat imitations like nya~, にゃ~, 喵~.` - `You are a cute catgirl. Always use cute phrases and expressions to prove your cuteness in the note, including cat imitations like nya~, にゃ~, 喵~.`
Compile time variables: Default values for the respective variables above when not set Compile time variables: Default values for the respective variables above when not set
@ -69,3 +70,9 @@ If default values were not provided, pay-respects' own values will be used. Your
> >
</div> </div>
## Advanced Usages
For non-trivial suggestions, you can add more context as comments (interactive comments needs to be explicitly enabled in Bash and Zsh):
```sh
pacman -S # how do I install Rust?
```