cloudflare / cloudflare/workers-sdk
Project with Workers AI binding can't run at all without logging in.
- Dominant language
- TypeScript
- Stars
- 4.5k
- Forks
- 1.5k
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 186
Description
### What versions & operating system are you using?
System:
OS: Linux 6.12 Debian GNU/Linux 12 (bookworm) 12 (bookworm)
CPU: (32) x64 AMD Ryzen 9 9950X 16-Core Processor
Memory: 71.08 GB / 91.98 GB
Container: Yes
Shell: 5.2.15 - /bin/bash
Binaries:
Node: 22.21.1 - /home/kenton/.nvm/versions/node/v22.21.1/bin/node
npm: 10.9.4 - /home/kenton/.nvm/versions/node/v22.21.1/bin/npm
pnpm: 10.26.2 - /home/kenton/.nvm/versions/node/v22.21.1/bin/pnpm
npmPackages:
wrangler: ^4.56.0 => 4.56.0
### Please provide a link to a minimal reproduction
N/A
### Describe the Bug
When I run `wrangler dev` on a project with a Workers AI binding, I am prompted to log in.
If I don't log in, `wrangler dev` just hangs.
I think it should instead proceed but have the workers AI binding throw errors when invoked. People should be able to test parts of the app that don't require AI without logging in.
### Please provide any relevant error logs
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.