Vercel AI SDK Help
Unanswered
Black carpenter ant posted this in #help-forum
Black carpenter antOP
I'm building a simple conversational AI Discord bot, the code is given below in gist.
In the code, the vercel serverless functions only run till the "log" before Vercel's "ai" npm package's generate content function. The issue is that nor it running the ai response (maybe) and nor it running the code after it as await is used.
https://gist.github.com/zedanux/5e58ac36ab1fccecac37d525a6383732
In the code, the vercel serverless functions only run till the "log" before Vercel's "ai" npm package's generate content function. The issue is that nor it running the ai response (maybe) and nor it running the code after it as await is used.
https://gist.github.com/zedanux/5e58ac36ab1fccecac37d525a6383732
1 Reply
Black carpenter antOP
It looks like the issue arises from the vercel ai sdk generateText function