Closed wii8369 closed 1 year ago
The openai library is updated make sure to run npm install
inside the server folder before you run
In my case the problem was that is was running client and server concurrently and server was in PORT 3001 and my client in 3000. I had to add my server URL to REACT_APP_BASE_URL to client/.env and run both individually
Also try running server n client separately. env variable might not work when running concurrently
I noticed on line 81 in server.js, the response is being retrieved using:
response.data.choices[0].text
To see the openai response change it to:
response.data.choices[0].message.content
Hope that helps.
Hey there I am having the same problem here("thinking"... And no response) . Let me be more precise: I am using local_setup branch.
I am running server/backend on render.com It is running perfectly on port 3001. No errors. When i visited my backend url it says: {"message":"Hello World!"}
Frontend: on netlify Build command i used on netlify: npm run build. The fronted loaded. I think I am making mistake when using base url. In my case now, I set it to: REACT_APP_BASE_URL : "https://mybackendserverurl.onrender.com
fixed
The installation is complete. Select ChatGPT/Dell.e and enter text. Question text can be generated. But the words and graphics of "Thinking..." don't have any answers.