跳到正文
原文
Cloudflare Blog · AI Gateway· Catarina Pires Mota·· 2024-11-20AI 评分36

Cloudflare 用 Durable Objects 为 AI Gateway 添加 WebSockets 支持与认证

DO it again: how we used Durable Objects to add WebSockets support and authentication to AI Gateway

AI 导读

Cloudflare 为 AI Gateway 推出 WebSockets API,通过 Durable Objects 建立单一持久连接,可访问其支持的全部 AI 提供商,即使提供商本身不支持 WebSocket 也由网关代为转发。

来源:Cloudflare Blog · AI Gateway · blog.cloudflare.com