Minor Changes
-
#5371
77152f3
Thanks @G4brym! - feature: remove requirement for@cloudflare/ai
package to use Workers AIPreviously, to get the correct Workers AI API, you needed to wrap your
env.AI
binding withnew Ai()
from@cloudflare/ai
. This change moves the contents of@cloudflare/ai
into the Workers runtime itself, meaningenv.AI
is now an instance ofAi
, without the need for wrapping.
Patch Changes
- Updated dependencies [
d994066
]:- miniflare@3.20240329.0