Skip to content

Commit

Permalink
feat: add ogpt basic config
Browse files Browse the repository at this point in the history
  • Loading branch information
Adriel Perkins committed Feb 25, 2024
1 parent 53d4d79 commit e96bf86
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .config/nvim/lua/plugins/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,26 @@ local plugs = {
init = function()
require('stay-centered').setup{}
end
},
-- Simple, minimal Lazy.nvim configuration
{
"huynle/ogpt.nvim",
event = "VeryLazy",
opts = {
default_provider = "ollama",
providers = {
ollama = {
api_host = os.getenv("OLLAMA_API_HOST") or "http://localhost:11434",
api_key = os.getenv("OLLAMA_API_KEY") or "",
}
}
},
dependencies = {
"MunifTanjim/nui.nvim",
"nvim-lua/plenary.nvim",
"nvim-telescope/telescope.nvim"
}
},
}

-- Other Optionals
Expand Down

0 comments on commit e96bf86

Please sign in to comment.