We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d207e6 commit b6cd222Copy full SHA for b6cd222
README.md
@@ -43,7 +43,7 @@ https://github.com/user-attachments/assets/b6e6aa6c-85a8-42b1-994c-fa3ffe80d760
43
provider_options = {
44
gemini = {
45
model = 'gemini-2.0-flash',
46
- api_key = 'YOUR_API_KEY',
+ api_key = vim.env.GEMINI_API_KEY, -- assuming you have set GEMINI_API_KEY in .zshrc or .bashrc
47
stream = false,
48
},
49
}
lua/commit-ai/config.lua
@@ -23,7 +23,7 @@ M.provider_options = {
23
24
25
26
+ api_key = vim.env.GEMINI_API_KEY,
27
28
29
claude = {
0 commit comments