Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Change this https://github.com/enricoros/nextjs-chatgpt-app/blob/466a366... to say "gpt-3.5-tubo" and it should work for you


I updated the model in that file, deployed again using Vercel but still same error.


It seems like it's setting gpt-4 here as well: https://github.com/enricoros/nextjs-chatgpt-app/blob/466a366...

But come on, read through the source, look for the issue, I'm sure you can track down at least something :)


Sorry, as soon as posted my comment, I looked again and found the other occurrence. It's quite late here and I just followed your advice blindly :)

Works now.


Hey guys, op here. Merged the PR for 3.5-Turbo support and cleaned up the code (very good observations on all the places 'gpt-4' was hardcoded). Combo box to select the model. GPT-4 will need a 4-enabled key, while 3.5-Turbo will work with any GPT key.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: