branch: elpa/aidermacs commit 15a01a9b42700f1b1fe4d748ce6e7ce672ecdb25 Author: Mingde (Matthew) Zeng <matthew...@posteo.net> Commit: Mingde (Matthew) Zeng <matthew...@posteo.net>
Improve API_KEY documentation Closes #61 --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a147624345..e1b5c64fbe 100644 --- a/README.md +++ b/README.md @@ -61,8 +61,10 @@ Here's what the community is saying about Aidermacs: (use-package aidermacs :bind (("C-c a" . aidermacs-transient-menu)) :config - ; Enable minor mode for Aider files - (aidermacs-setup-minor-mode) + ; Set API_KEY in .bashrc, that will automatically picked up by aider or in elisp + (setenv "ANTHROPIC_API_KEY" "sk-...") + ; defun my-get-openrouter-api-key yourself elsewhere for security reasons + (setenv "OPENROUTER_API_KEY" (my-get-openrouter-api-key)) :custom ; See the Configuration section below (aidermacs-use-architect-mode t) @@ -92,7 +94,7 @@ Aidermacs offers intelligent model selection for solo (non-Architect) mode, auto - Automatically fetches available models from supported providers (OpenAI, Anthropic, DeepSeek, Google Gemini, OpenRouter) - Caches model lists for quick access - Supports both popular pre-configured models and dynamically discovered ones -- Handles API keys and authentication automatically +- Handles API keys and authentication automatically from your .bashrc - Provides model compatibility checking The dynamic model selection is only for the solo (non-Architect) mode.