BuilderIO / ai-shell

A CLI that converts natural language to shell commands.
MIT License
4.2k stars 278 forks source link

Chat gives empty response #94

Open endrureza opened 1 year ago

endrureza commented 1 year ago

I'm trying to use chat, but somehow everytime i'm asking something it give empty response

Screenshot 2023-08-23 at 10 32 09 AM

Am i missing something here ?

steve8708 commented 1 year ago

I believe this is an issue with our parsing logic, I think chatgpt has been less reliable at outputting the formatting we need, so it streams a response but not in the format we are expecting. would love help looking into this

ShinnosukeUesaka commented 1 year ago

Same problem here. Setting older models ex) gpt-4-0314 won't help.

distbit0 commented 1 year ago

I am experiencing the same problem. whenever I run ai <some request> it returns no actual script and then the explanation is some generic explanation of what a script is (sometimes in the context of programming and sometimes in the context of film production lol).

image

distbit0 commented 1 year ago

It works when I set the model to gpt-4-0314 (the above was with 3.5)

Bortus-AI commented 1 year ago

latest gpt-4 fixes this

irian-codes commented 2 months ago

Switched to gpt4o-mini and it solved the issue for me