Can't use @cloudflare/ai in local development.

I am already connected to cloudflare in my local environement and I can run a deploy to Cloudflare. The AI worker works fine in production on Cloudflare, but when I run wrangler dev locally, i get the following error: {"success":false,"errors":[{"code":10000,"message":"Authentication error"}]} - if I'm authenticated to deploy to Cloudflare locally, why isn't the AI authenticted to work locally? how do you set this up properly? #cloudflare-ai
2 Replies
ddsgadget
ddsgadgetOP10mo ago
I see the solution, in another post. It is to run, wrangler login again.
ddts86
ddts868mo ago
Hi, what is your solution. I got this too and have no idea what is going on?
Want results from more Discord servers?
Add your server