Bryley / neoai.nvim

Neovim plugin for intracting with GPT models from OpenAI
MIT License
558 stars 51 forks source link

Error when generating commit messages #60

Open Mugworth opened 5 months ago

Mugworth commented 5 months ago

Hi,

So when i try to generate commit message from, for example, something like this:

  1                                                                                                                                                                                                                                         
   1 # Please enter the commit message for your changes. Lines starting                                                                                                                                                                     
   2 # with '#' will be ignored, and an empty message aborts the commit.                                                                                                                                                                    
   3 #                                                                                                                                                                                                                                      
   4 # On branch main                                                                                                                                                                                                                       
   5 # Changes to be committed:                                                                                                                                                                                                             
   6 #>      new file:   json                                                                                                                                                                                                               
   7 #>      modified:   kitty.conf                                                                                                                                                                                                         
   8 #>      new file:   kittymux/quicknavs.json                                                                                                                                                                                            
   9 #>      modified:   sessions/Sesje                                                                                                                                                                                                     
  10 #>      deleted:    start_session.py                                                                                                                                                                                                   
  11 #>      new file:   tab_bar.py                                                                                                                                                                                                         
  12 #>      modified:   themes/one-dark.conf                                                                                                                                                                                               
  13 #    

I get this error: NeoAI Error: curl could not be started: E2BIG: argument list too long

What could be an issue?