UNICKCHENG / openai-proxy

openai-proxy is a solution provided for Chinese users to address the issue of being unable to make requests to the OpenAI API.
https://openai-proxy.apifox.cn
MIT License
401 stars 114 forks source link

错误反馈: claude 类OpenAI方式提示Error: Invalid model #116

Open h1xy opened 11 months ago

h1xy commented 11 months ago

能告诉我发生了什么么?What happened?

请尽可能详细地描述你的问题,如果可以的话,请附上图片或者 gif. Please describe your problem in as much detail as possible, and if include pictures or gif, that would be great!

使用如下类OpenAI方式,已经替换正确的org id 和session key, 以前没问题,最近不行了提示Error: Invalid model gpt-3.5-turbo, claude-v2, claude-2几种模型都试过。

curl -X POST 'https://openai.aihey.cc/claude/dca2a902-a463-41f0-88cb-b047deb40178/v1/chat/completions' \ --header 'Accept: /' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer your-sessionKey' \ --data-raw '{ "model":"gpt-3.5-turbo", "messages": [ {"role": "user", "content":"hello"} ], "stream": false }'

Kiyliy commented 10 months ago

我也遇到这个问题了, 完全调用不了, 不知道为啥