Calcium-Ion / new-api

AI模型接口管理与分发系统,支持将多种大模型转为OpenAI格式调用、支持Midjourney Proxy、Suno、Rerank,兼容易支付协议,仅供个人或者企业内部管理与分发渠道使用,请勿用于商业用途,本项目基于One API二次开发。
https://nekoapi.com
Apache License 2.0
3.08k stars 761 forks source link

希望接入claude 接口 ,而不是一直使用claude接口出站 #516

Open Evanora-y opened 23 hours ago

Evanora-y commented 23 hours ago

例行检查

功能描述

本项目一直是OpenAI接口对外提供服务,但是OpenAI接口接用户反应,存请求格式的限制

存在该问题:

Chat Completion APImessages: roles must alternate between "user" and "assistant", but found multiple "user" roles ina row (request id:20240929200839927085502IUoyCGHc) (request id:20240929200839807541543Xtn8kXN7) (request id:20240929200839454414665IXAIN dT9)

应用场景