Skip to content

Commit

Permalink
chore(neovim): read anthropic api key from 1password (#589)
Browse files Browse the repository at this point in the history
  • Loading branch information
izumin5210 authored Oct 19, 2024
1 parent daf830b commit 4a8c653
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions config/.config/nvim/lua/plugins/editor/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -265,13 +265,6 @@ return {
"yetone/avante.nvim",
event = "VeryLazy",
version = "*",
opts = {
provider = "claude",
auto_suggestions_provider = "claude",
claude = {
model = "claude-3-5-sonnet-20240620",
},
},
build = "make",
dependencies = {
"nvim-treesitter",
Expand All @@ -287,5 +280,13 @@ return {
ft = { "markdown", "Avante" },
},
},
opts = {
provider = "claude",
auto_suggestions_provider = "claude",
claude = {
model = "claude-3-5-sonnet-20240620",
api_key_name = { "op", "read", "op://Personal/anthropic-api-key-avante-nvim/credential" },
},
},
},
}

0 comments on commit 4a8c653

Please sign in to comment.