mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-25 22:20:43 +00:00
A guardrail such as Pillar aliases the request's metadata to litellm_metadata, which holds the caller's UserAPIKeyAuth. Since #51119 the Rust host converts the whole metadata field to JSON before its own user_id filter runs, so the call failed with "unsupported type UserAPIKeyAuth". The host now passes only user_id, the one key the Rust validator and Python's AnthropicMetadata keep. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_chat_completions.py | ||
| test_messages.py | ||
| test_ocr.py | ||
| test_responses.py | ||