workers-sdk
workers-sdk copied to clipboard
🚀 Feature Request: Add remote support for getPlatformProxy
Describe the solution
Currently, unstable_dev
supports passing in a local flag in the options object, but getPlatformProxy
doesn't support it. This means that things like Cloudflare AI, which requires a remote flag, can not be unit-tested using this method. This is a major limitation and prevents testing things that involve features that can't be run locally. Ideally, getPlatformProxy
should support remote or non-local features, just like unstable_dev
.
Docs ref: https://developers.cloudflare.com/workers/wrangler/api/#getplatformproxy