mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-12-17 20:37: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
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