mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-12-17 12:27:22 +00:00
Add AI helper functions, update plugins, and codecompanion updates
This commit is contained in:
parent
1517f56c86
commit
73c5b0b7d7
8 changed files with 87 additions and 37 deletions
9
.config/fish/functions/adr.fish
Normal file
9
.config/fish/functions/adr.fish
Normal 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
|
||||
10
.config/fish/functions/aikeys.fish
Normal file
10
.config/fish/functions/aikeys.fish
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue