使用内置add site,打开chatgpt.com。并use https://chatgpt.com/backend-anon/f/conversation。面板显示正常。但是通过curl测试api proxy server报错如下;
$ curl http://127.0.0.1:8080/v1/models
{"object":"list","data":[{"id":"chatgpt/auto","object":"model","created":1770561932,"owned_by":"Chatgpt"}]}
$ curl http://127.0.0.1:8080/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"model":"chatgpt/auto","messages":[{"role":"user","content":"Hello"}]}'
{"error":{"message":"Target service error: Unprocessable Entity","type":"upstream_error","code":"upstream_error"}}
(我是通过v2ray的tun模式访问的chatgpt)
使用内置add site,打开chatgpt.com。并use https://chatgpt.com/backend-anon/f/conversation。面板显示正常。但是通过curl测试api proxy server报错如下;
$ curl http://127.0.0.1:8080/v1/models {"object":"list","data":[{"id":"chatgpt/auto","object":"model","created":1770561932,"owned_by":"Chatgpt"}]} $ curl http://127.0.0.1:8080/v1/chat/completions \ -H "Content-Type: application/json" \ -d '{"model":"chatgpt/auto","messages":[{"role":"user","content":"Hello"}]}' {"error":{"message":"Target service error: Unprocessable Entity","type":"upstream_error","code":"upstream_error"}}(我是通过v2ray的tun模式访问的chatgpt)