Skip to content

用chatgpt和豆包/kimi都试了一下,都没有成功 #1

@minshiwu

Description

@minshiwu

使用内置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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions