gsuuon / model.nvim

Neovim plugin for interacting with LLM's and building editor integrated prompts.
MIT License
293 stars 21 forks source link

Openai proxy #33

Closed gsuuon closed 8 months ago

gsuuon commented 8 months ago

Can set curl_args in openai prompt options to add additional arguments to curl:

  gpt = vim.tbl_extend('force', openai.default_prompt, {
    options = {
      curl_args = {'--my-extra-args', '--go-here'}
    }
  })

Resolves #31