5 ms·
I updated the model in that file, deployed again using Vercel but still same error.
by trendoid 4y ago
I updated the model in that file, deployed again using Vercel but still same error.
- capableweb 4y agoIt seems like it's setting gpt-4 here as well: https://github.com/enricoros/nextjs-chatgpt-app/blob/466a3667a48060d406d60943af01fe26366563fb/pages/api/chat.ts#L133 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 :)
- trendoid 4y agoSorry, 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.
- enricoros 3y agoHey 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.