Add AI helper functions, update plugins, and codecompanion updates

This commit is contained in:
mitchell 2025-05-19 15:57:08 -04:00
parent 1517f56c86
commit 73c5b0b7d7
8 changed files with 87 additions and 37 deletions

View file

@ -0,0 +1,9 @@
function adr --wraps aider
aider \
--model gemini \
--editor-model gpt-4.1-mini \
--weak-model gpt-4.1-mini \
--dark-mode \
--completion-menu-bg-color '#1f1f28' \
--vim $argv
end

View file

@ -0,0 +1,10 @@
function aikeys -d 'Set AI API keys' -a service
switch $service
case gemini
echo "set -lx GEMINI_API_KEY (kp Keys/google-aistudio-key -a Password)"
case openai
echo "set -lx OPENAI_API_KEY (kp Keys/openai-general -a Password)"
case anthro
echo "set -lx ANTHROPIC_API_KEY (kp Keys/google-aistudio-key -a Password)"
end
end