summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2025-06-04 11:55:04 -0400
committerBen Sima <ben@bsima.me>2025-06-13 11:19:37 -0400
commit996d5957f7dd2bd9367d6f1a2b808865f866c040 (patch)
tree98ef0838a675606d7bab9c554b74eb1b704481de
parent495db3caa6101514c576d9bac18206cd88011871 (diff)
Add aider api key as environment variable
This is so I don't have to specify it at the command line anymore, which is becoming cumbersome.
-rw-r--r--.envrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.envrc b/.envrc
index 5e459bb..a13f7db 100644
--- a/.envrc
+++ b/.envrc
@@ -33,6 +33,8 @@
# intermediate compilation artifacts go here
export PYTHONPYCACHEPREFIX=$CODEROOT/_/int
#
+# special aider config
+ export OPENROUTER_API_KEY=$(pass show openrouter.ai/aider-key || true)
# Biz/Dragons.hs:
export GITHUB_CLIENT_ID=aa575dc96263bc99556d
export GITHUB_CLIENT_STATE=$(cat /proc/sys/kernel/random/uuid)