接口响应错误 - Invalid URL (POST //v1/chat/completions)
shenhanqing opened this issue · comments
目前使用香港的 vps,使用 CF托管域名,加上 Nginx 反向代理 api.openai.com,但是一直报接口响应错误。直接访问https://我的域名.com/v1/chat/completions,返回"You didn't provide an API key. You need to provide your API key in an Authorization header using Bearer auth (i.e. Authorization: Bearer YOUR_KEY), or as the password field (with blank username) if you're accessing the API from your browser and are prompted for a username and password. You can obtain an API key from https://platform.openai.com/account/api-keys.",
"请问大佬大概是什么原因?