Neovim plugin that puts the current file into AI context and uses your prompt to generate code at the cursor location, that’s it.
echo 'export MAMMOUTH_API_KEY="your-key-here"' >> ~/.bashrc
source ~/.bashrc
:lua print(vim.inspect(os.getenv("MAMMOUTH_API_KEY")))vim.pack.add({ "https://github.com/neowees/weesgen.nvim" })
require("weesgen").setup({
model = "mammouth-recommended", -- setup model here (get model list: https://model-explorer.mammouth.ai/)
})weesgen: write sample function <leader> wg
- Currently working only with Mammouth API (https://info.mammouth.ai/docs/api-quick-start/)