From 86241547e864438d1d9e67bdb8775f7772c0b069 Mon Sep 17 00:00:00 2001 From: iff Date: Mon, 7 Apr 2025 22:09:57 +0200 Subject: [PATCH] docs: update AI usages --- README.md | 2 +- module-request-ai/README.md | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 60aa663..92ec8ca 100644 --- a/README.md +++ b/README.md @@ -227,7 +227,7 @@ An API key is included with the source (your distribution might have stripped th > -[AI and API configurations](./module-request-ai/README.md) +[AI usages and API configurations](./module-request-ai/README.md) ## Contributing diff --git a/module-request-ai/README.md b/module-request-ai/README.md index b2b4918..6fca6cd 100644 --- a/module-request-ai/README.md +++ b/module-request-ai/README.md @@ -19,6 +19,7 @@ Configuration is done via environment variables: - `_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_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~, にゃ~, 喵~.` 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 > +## 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? +```