ai
ai copied to clipboard
Examples with error. (Failed to convert the response to stream)
i dowloaded the next-openai-app and the sveltekit-openai changed the .env.local but i make the request i gives the error bellow; (next)
- error node_modules\ai\dist\index.mjs (112:10) @ AIStream
- error Failed to convert the response to stream. Received status code: 429.
(sveltekit)
Error: Failed to convert the response to stream. Received status code: 429. at AIStream
i just did one request and inside open-ai the API is with 0 usage.
this is the sveltekit route "chat":
to clone to project:
npx create-next-app --example https://github.com/vercel-labs/ai/tree/main/examples/next-openai next-openai-app
I think this will be covered by #163. Error code 429 came from OpenAI that you can log out the response body to see more details.
Closing as a dupe of https://github.com/vercel-labs/ai/issues/144