[Bug]: `_should_start_new_content_block` crashes on empty-`choices` chunk (`/v1/messages`, non-Anthropic backend)
![[Bug]: `_should_start_new_content_block` crashes on empty-`choices` chunk (`/v1/messages`, non-Anthropic backend)](https://www.chat-gpts.plus/wp-content/uploads/2026/08/36553-5163f58a-768x403.jpg)
该报错发生在 LiteLLM 代理通过 /v1/messages 接口( route_type=anthropic_messages )转发非 Anthropic 后端(如 GLM-5.1)的流式响应时,后端在流末尾发送了一个仅含 usage 、 choices 为空的 chunk,导致 _shou






![[Bug]: LiteLLM_Config table is overwriting newly deployed config](https://www.chat-gpts.plus/wp-content/uploads/2026/08/12875-74ec3302-768x403.jpg)

