跳到主要内容

Cloudflare AI Gateway 标志Cloudflare AI Gateway

Cloudflare AI Gateway 可通过 AI SDK 使用。安装相应的 Provider package 后,即可在 Mastra 中使用其模型。

有关此 Provider 的详细说明,请参阅 AI SDK Cloudflare AI Gateway Provider 文档

如需在 Mastra Agent 中使用此 Provider,请参阅Agent 概览文档

安装
安装的直接链接

npm install ai-gateway-provider
On this page