openai-proxy icon indicating copy to clipboard operation
openai-proxy copied to clipboard

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

Open h1xy opened this issue 1 year ago • 1 comments

能告诉我发生了什么么?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 }'

h1xy avatar Dec 01 '23 01:12 h1xy