diff --git a/ai/litellm-config.yaml b/ai/litellm-config.yaml index 4cd8053..5cdf58b 100644 --- a/ai/litellm-config.yaml +++ b/ai/litellm-config.yaml @@ -8,6 +8,8 @@ model_list: litellm_params: model: anthropic/claude-sonnet-4-5-20250929 api_key: os.environ/ANTHROPIC_API_KEY + drop_params: true + additional_drop_params: ["prompt_cache_key"] - model_name: claude-3-5-sonnet litellm_params: @@ -29,6 +31,10 @@ litellm_settings: set_verbose: true # Disable prompt caching features cache: false + # Force strip specific parameters + allowed_fails: 0 + # Modify params before sending to provider + modify_params: true router_settings: allowed_fails: 0 @@ -39,5 +45,3 @@ default_litellm_params: general_settings: disable_responses_id_security: true - # Explicitly disable responses API endpoint - disable_responses_api: true