e2b-dev / fragments

Open-source Next.js template for building apps that are fully generated by AI. By E2B.
https://fragments.e2b.dev
Apache License 2.0
3.48k stars 455 forks source link

getting error while using Gemini model #34

Closed sallumandya1995 closed 3 months ago

sallumandya1995 commented 3 months ago

model { id: 'models/gemini-1.5-pro-latest', provider: 'Google AI', providerId: 'google', name: 'Gemini Pro', hosted: true } config { model: 'models/gemini-1.5-pro-latest', apiKey: 's'ssas } The data stream is hanging. Did you forget to close it with data.close()? POST /api/chat 200 in 17333ms { messages: [], data: undefined } GET / 200 in 359ms GET /favicon.ico 200 in 223ms

mishushakov commented 3 months ago

This should be resolved now. Can you try again and let me know if you're still experiencing any issues?

sallumandya1995 commented 3 months ago

image

code is failing to get rendered

iam getting below error in vs code

image

mishushakov commented 3 months ago

Make sure you're always using the latest version of the repository 👍