BerriAI / litellm

Call all LLM APIs using the OpenAI format. Use Bedrock, Azure, OpenAI, Cohere, Anthropic, Ollama, Sagemaker, HuggingFace, Replicate (100+ LLMs)
https://docs.litellm.ai/docs/
Other
10.11k stars 1.13k forks source link

fix(router.py): Content Policy Fallbacks for Azure 'content_filter' responses #4365

Closed krrishdholakia closed 6 days ago

krrishdholakia commented 6 days ago

Title

Exception maps azure content filter response exceptions

Relevant issues

Fixes issue where azure empty responses were being returned when content_policy_fallbacks were available

Type

🐛 Bug Fix

Changes

[REQUIRED] Testing - Attach a screenshot of any new tests passing locall

If UI changes, send a screenshot/GIF of working UI fixes

Screenshot 2024-06-22 at 7 13 09 PM

cc: @lolsborn

vercel[bot] commented 6 days ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 23, 2024 4:29am