jtsang4 / claude-to-chatgpt

This project converts the API of Anthropic's Claude model to the OpenAI Chat API format.
MIT License
1.27k stars 150 forks source link

failed to run this on cloudflare #5

Closed Nplace-su closed 1 year ago

Nplace-su commented 1 year ago

always got this from Claude API: <!doctype html>403403 Forbidden could you please help take a look?

Nplace-su commented 1 year ago

似乎是因为anthropic ban掉了很多国家/地区,而cloudflare worker会根据发起请求的地址分配一个最近的服务器(?),分配到不允许访问claude api的地区时,就会造成403 forbidden。