nuxt-hub / core

Build full-stack applications with Nuxt on CloudFlare, with zero configuration.
https://hub.nuxt.com
Apache License 2.0
993 stars 57 forks source link

`hubAI` does not work in local development #325

Closed danielroe closed 1 month ago

danielroe commented 1 month ago

flagged up here:

Hi there! I think this might have caused an issue where using hubAI() during local development now throws an error saying: Missing Cloudflare AI binding (AI).

The generated file .data/hub/wrangler.toml no longer includes the AI binding. Why was this change made? Why is it considered unused?

Originally posted by @CernyMatej in https://github.com/nuxt-hub/core/issues/308#issuecomment-2413658130

atinux commented 1 month ago

Should be fixed in https://github.com/nuxt-hub/core/releases/tag/v0.7.33