BuilderIO / ai-shell

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

Chat gives empty response #94

Open endrureza opened 11 months ago

endrureza commented 11 months 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 11 months 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 11 months ago

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

distbit0 commented 8 months 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 8 months ago

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

Bortus-AI commented 8 months ago

latest gpt-4 fixes this