Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
h1xy opened this issue Dec 1, 2023 · 1 comment
Open

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

h1xy opened this issue Dec 1, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@h1xy
Copy link

h1xy commented Dec 1, 2023

能告诉我发生了什么么?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 h1xy added the bug Something isn't working label Dec 1, 2023
@Kiyliy
Copy link

Kiyliy commented Dec 30, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants