[Bug]: /v1/messages still answers auth, model-access and malformed-JSON errors in the OpenAI error shape
![[Bug]: /v1/messages still answers auth, model-access and malformed-JSON errors in the OpenAI error shape](https://www.chat-gpts.plus/wp-content/uploads/2026/11/47948-a2d3e504-768x403.jpg)
调用 LiteLLM 代理的 Anthropic 兼容端点 /v1/messages (以及 /v1/messages/count_tokens )时,如果错误发生在进入 handler 之前(无效虚拟密钥、模型无权访问、请求体不是合法 JSON),返回体仍是 OpenAI 错误结构,而不是 Ant
![[Bug]: Bedrock Claude Opus 5.5 returns plain text for response_format json_schema because json_tool_call can't be forced](https://www.chat-gpts.plus/wp-content/uploads/2026/11/42717-1a7f5381-768x403.jpg)







