From f2452ef445ab315363a0af719843903c33e2c1c3 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Tue, 1 Apr 2025 06:20:33 -0500 Subject: [PATCH] update --- .config/nvim/lua/plugins/codecomapnion.lua | 2 +- .config/shell/functions.zsh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.config/nvim/lua/plugins/codecomapnion.lua b/.config/nvim/lua/plugins/codecomapnion.lua index c50c322..3b790d7 100644 --- a/.config/nvim/lua/plugins/codecomapnion.lua +++ b/.config/nvim/lua/plugins/codecomapnion.lua @@ -11,7 +11,7 @@ return { opts = { strategies = { chat = { adapter = "openai" }, - inline = { adapter = "ollama" }, + inline = { adapter = "mistral" }, }, adapters = { opts = { diff --git a/.config/shell/functions.zsh b/.config/shell/functions.zsh index 7bd8bf3..e305a7d 100644 --- a/.config/shell/functions.zsh +++ b/.config/shell/functions.zsh @@ -3,6 +3,7 @@ set-cred () export BW_SESSION="$(bw unlock $(secret-tool lookup drive bitwarden) --raw)" printf "$(bw get password cli-gitlab)" | secret-tool store --label='Gitlab Token for CLI' 'token' 'GITLAB_TOKEN' printf "$(bw get password cli-ollama-token)" | secret-tool store --label='Ollama Token for CLI' 'token' 'OLLAMA_TOKEN' + printf "$(bw get password cli-litellm-token)" | secret-tool store --label='LiteLLM Token for CLI' 'token' 'LITELLM_TOKEN' unset BW_SESSION } @@ -11,12 +12,14 @@ set-env () { export GITLAB_TOKEN="$(secret-tool lookup token GITLAB_TOKEN)" export OLLAMA_TOKEN="$(secret-tool lookup token OLLAMA_TOKEN)" + export LITELLM_TOKEN="$(secret-tool lookup token LITELLM_TOKEN)" } clear-env () { unset GITLAB_TOKEN unset OLLAMA_TOKEN + unset LITELLM_TOKEN } tmux-new () {