mckaywrigley / chatbot-ui-lite

A simple chatbot starter kit for OpenAI's chat model using Next.js, TypeScript, and Tailwind CSS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

front end stuck

eelxpeng opened this issue · comments

I tried to start the sever in local using npm run dev, but somehow the front end always stuck at https://github.com/mckaywrigley/chatbot-ui/blob/main/pages/index.tsx#L24. I tried to add logging, and it just never return in the fetch of /api/chat. Do you know why?

Are you adding your api key to a .env.local file?