Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 659 Bytes

File metadata and controls

28 lines (23 loc) · 659 Bytes

openwebui.nvim

Chat with your Open WebUI LLM from neovim

screenshot

Note

Not really proud of the quality, but it somewhat works.

Installation

Using lazy.nvim

{
  "Speiser/openwebui.nvim",
  dependencies = {
    "nvim-lua/plenary.nvim",
  },
  config = function()
    local openwebui = require("openwebui")
    openwebui.setup({
      api_endpoint = "https://localhost:8000/api/chat/completions",
      model = "your-model",
      api_key = "your-api-key",
    })

    vim.keymap.set("n", "<leader>ai", openwebui.start_chat, { noremap = true, silent = true })
  end,
}```