mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
fix(guardrails): enable allow_request_metadata_override in alice test config
The config comment stated app_id is supplied per-request via metadata but allow_request_metadata_override was absent (defaults false), so every call would fail to resolve app_id and return HTTP 500.
This commit is contained in:
parent
4ad7cceb5d
commit
8933969af4
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ guardrails:
|
|||
guardrail: alice_wonderfence
|
||||
mode: ["during_call", "post_call"] # Test both input and output
|
||||
api_key: os.environ/ALICE_API_KEY
|
||||
# app_id is supplied per-request via metadata.alice_wonderfence_app_id (not at static litellm_params level)
|
||||
allow_request_metadata_override: true # app_id supplied per-request via metadata.alice_wonderfence_app_id
|
||||
api_timeout: 20.0 # Timeout in seconds (default: 20.0)
|
||||
platform: aws # Optional: Cloud platform (aws, azure, databricks, etc.)
|
||||
default_on: true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue