@biu-biu关于newapi格式转换和claudecode的问题 中发帖

我接入的上游是openai格式的端点,渠道类型我设置的是openai。 
newapi具有协议转换的功能,我在终端分别构建openai和anthropic格式的请求都可以拿到响应。
但是为什么放在claudecode中,使用v1/messages原生格式请求不成功呢。
报错:There's an issue with the selected model (public-minimax-m2-5-main). It may not exist or you may not have access to it. Run /model to pick a different model.
使用v1/chat/completions也请求不成功,但报的400,这个是newapi哪里配置有问题吗?
API Error: 400 [{'type': 'literal_error', 'loc...