Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 829 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 829 Bytes

coddit for Chrome

This is an extension to allow interaction with browser instances of ChatGPT via a REST API identical to OpenAI's. It goes hand-in-hand with coddit.py.

Usage

  1. Run server.py locally.
  2. Install this extension by entering the Developer Mode on Chrome's or any other Chromium-based browser's Extensions page.
  3. Open chatgpt.com and open the extension popup. Click Connect to connect with the server on the localhost.

For coddit.nvim

Add a chatgpt model to the models table during the coddit.nvim setup, as shown below.

require("coddit").setup({
  models = {
    ["chatgpt"] = {
      endpoint = "http://127.0.0.1:5000/v1/chat/completions",
      model = "chatgpt",
      api_type = "openai",
    },
  },
  selected_model = "chatgpt",
})