oldweipro / claude-to-chatgpt

Claude 聊天接口适配到 OpenAI API 标准接口。
MIT License
102 stars 18 forks source link

Endpoint must be updated #25

Open johnd0e opened 7 months ago

johnd0e commented 7 months ago
{"error":{"code":"500","details":"claude错误","message":"claude错误","param":null,"type":"internal_server_error"}}

The cause: https://github.com/oldweipro/claude-to-chatgpt/blob/ca5a38033f3c820500b16dbf72475ac4202abe75/service/service.go#L40

Fix: See here https://github.com/st1vms/unofficial-claude2-api/commit/e2d1b57bcf0dad8bfc545a53f250ec670e5d01f3