David-Kunz / gen.nvim

Neovim plugin to generate text using LLMs with customizable prompts
The Unlicense
1.15k stars 92 forks source link

Cannot override model #3

Closed JoseConseco closed 1 year ago

JoseConseco commented 1 year ago

I think this is due to line

    local opts = vim.tbl_deep_extend('force', {
        model = 'mistral:instruct',
        command = M.command

Not sure though. I do not see anywhere require('gen').model = 'your_model' - model seems to be set only in local opts. And not in M.model...

David-Kunz commented 1 year ago

Thank you @JoseConseco , it's fixed now!