Skip to content

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

Description

@h1xy

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions