GLM-5.1 via LiteLLM Triggers Censorship Error on Date String "June 4"
June 11, 2026
A developer using LiteLLM with the GLM-5.1 model hit a mid-stream InternalServerError when output contained the string "June 4," triggering Zhipu AI's content filter with error code 1301. The block occurs silently mid-generation with no fallback model configured, causing silent failures in production pipelines.
HOW THIS AFFECTS YOU
●
builderIf you're routing to Chinese-hosted models via LiteLLM, date strings and historical references can trigger hard mid-stream failures — configure fallback model groups and handle litellm.InternalServerError explicitly.