vercel / ai

Build AI-powered applications with React, Svelte, Vue, and Solid
https://sdk.vercel.ai/docs
Other
9.36k stars 1.37k forks source link

no responses were shown, just blank white screen #270

Closed jiarenlim closed 1 year ago

jiarenlim commented 1 year ago

i encounter one weird problem, i use the starter for the huggingface and nothing pop up on my screen after i ask anything and also no responses from the AI was shown or streamed which im just looking at a blank white screen. But I do check out there are responses from AI in the network tab in dev tools, anyone know why is that? Screenshot 2023-07-03 132740

zacrafidi commented 1 year ago

+1 same happens with the langchain/openai docs for me

mzavattaro commented 1 year ago

Yep same. Something broke in a recent package update. V2.1.9 works whereas v2.1.13 is broken and doesn't output the response from OpenAI. It does return a 200 success response though. Haven't checked versions 2.1.10, 2.1.11 or 2.1.12.

Can confirm 2.1.9 definitely works still.

K0rdan commented 1 year ago

Got the same problem. 2.1.12 is working for me. I think it will be reverted in the 2.1.14 once the GitHub action fixed, see : https://github.com/vercel-labs/ai/actions/runs/5436805261

Rinshin-Jalal commented 1 year ago

2.1.9 is working perfectly for me 2.1.12 is not working ...

jiarenlim commented 1 year ago

yup, apparently, versions above 2.1.9 have some errors, i have built one using the hugging face starter using v 2.1.9 and it works, feel free to try it out, it also have a dark mode settings and using abit of ui component from shadcn. However, does anybody knows how can i switch the model so i can use a more intelligent model as the current one is not good enough and couldn't answer most of the question I asked. Any help would be highly appreciated! feel free to visit the bot =>https://jeybot.vercel.app/
image

jaredpalmer commented 1 year ago

This has been fixed. Sorry about that.