mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-12 08:42:18 +00:00
- Drop a client's user_api_key_* metadata, non-string headers, non-object requester_metadata and non-string
litellm_call_id, litellm_trace_id, custom_llm_provider, api_base, api_key and proxy_server_request headers
before the merged guardrails run, as the native routes overwrite them
- Keep a guardrail the body turns off with {name: false} out of the merged list
- Put back a body's empty guardrails list when the merge finds nothing to run
- Leave a non-list applied_guardrails record alone instead of failing the request
- Skip key, team and project policy entries that aren't names
|
||
|---|---|---|
| .. | ||
| helpers | ||
| prisma_and_spend | ||
| proxy_logging | ||
| __init__.py | ||