v1.90.4 - Responses API 防護欄涵蓋範圍
部署此版本
- Docker
- Pip
docker run \
-e STORE_MODEL_IN_DB=True \
-p 4000:4000 \
docker.litellm.ai/berriai/litellm:1.90.4
pip install litellm==1.90.4
v1.90.4 是在 v1.90.3 之上的修補版發行。它恢復了 Responses API(/v1/responses)上的文字防護欄涵蓋範圍。共用的防護欄內容輔助工具現在會遍歷 Responses input 分類法(text、input_text 與 output_text 部分類型,以及 message、function_call 與 function_call_output 項目),因此建立在這些輔助工具之上的防護欄(AIM、Lakera v2、Cato、Lasso、Repello、IBM、Azure Content Safety,以及企業祕密偵測)會以與處理聊天完成相同的方式,在 /v1/responses 上檢查並遮罩請求文字。
變更內容
- fix(guardrails): 在共用內容輔助工具中遍歷 Responses-API 文字分類法 - PR #32542
完整變更記錄
https://github.com/BerriAI/litellm/compare/v1.90.3...v1.90.4