Created
April 9, 2024 23:53
-
-
Save yusukebe/f27ba2968a54f52986503a3944107baf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { getPlatformProxy } from 'wrangler' | |
const { env, dispose } = await getPlatformProxy() | |
console.log(env.AI) // undefined ! | |
await dispose() | |
// node ./get-platform-proxy-with-ai.mjs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name = "my-app" | |
compatibility_date = "2024-04-09" | |
[ai] | |
binding = "AI" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment