kpatronas / shellgpt

Query chatgpt from your shell
GNU General Public License v3.0
53 stars 3 forks source link

Add support for gpt-3.5-turbo model #4

Open jhurliman opened 1 year ago

jhurliman commented 1 year ago

Setting MODEL="gpt-3.5-turbo" in the config does not work (jq parsing failure).

kpatronas commented 1 year ago

Hi, I identified the problem, some models are under /v1/completions and other are under /v1/chat/completions, I will update my script but for now you can manually modify the curl request inside the script with the v1/chat/completion