-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
POST: /api/chat doesn't reply. #907
Comments
I ran into the same thing. The app/(chat)/api/chat/route.ts is eating the meaningful error, if you add:
you'll see what the problem is. For me, it was I didn't have |
I got a xAI api key and set it in local.env. how to validate that api key? |
Set a breakpoint on that exception or add debug message shown above to validate / rule out an invalid key. |
Running into the same issue. |
I forked project in local and set all environment variables. but it occurs error while sending message. What's wrong?
The text was updated successfully, but these errors were encountered: