Anthropic/ Claude 无法从客户端请求 #2442
-
💻 系统环境Windows 📦 部署环境Vercel / Zeabur / Sealos 🌐 浏览器Chrome 🐛 问题描述🚦 期望结果No response 📷 复现步骤No response 📝 补充信息本地调试发现从客户端输出的请求是OPTIONS而不是POST |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 2 replies
-
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
Beta Was this translation helpful? Give feedback.
-
可能被跨域限制了吧?你看下请求? |
Beta Was this translation helpful? Give feedback.
-
Maybe it's cross-domain restricted? Can you read the request? |
Beta Was this translation helpful? Give feedback.
-
第一,我附上了 Cloudflare AI Gateway 的截图,说明请求送达并且返回。返回的结果就是错误的,而且请求为空 |
Beta Was this translation helpful? Give feedback.
-
我知道问题是什么了 |
Beta Was this translation helpful? Give feedback.
-
I know what the problem is |
Beta Was this translation helpful? Give feedback.
-
OPTIONS 就是跨域请求。 https://juejin.cn/post/7021077647417409550 |
Beta Was this translation helpful? Give feedback.
-
This issue is closed, If you have any questions, you can comment and reply. |
Beta Was this translation helpful? Give feedback.
-
OPTIONS is a cross-domain request. https://juejin.cn/post/7021077647417409550 |
Beta Was this translation helpful? Give feedback.
-
Upstream: anthropics/anthropic-sdk-typescript#410 |
Beta Was this translation helpful? Give feedback.
Upstream: anthropics/anthropic-sdk-typescript#410