fix: enhance litellm parameter dropping for codex compatibility

Add router_settings and default_litellm_params to ensure unsupported
parameters like prompt_cache_key are properly dropped when using codex
with the litellm proxy.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-11 12:14:00 +01:00
parent ce6c60d8e0
commit f36e0fa9eb

View File

@@ -28,5 +28,12 @@ litellm_settings:
drop_params: true drop_params: true
set_verbose: true set_verbose: true
router_settings:
allowed_fails: 0
# Drop unsupported parameters
default_litellm_params:
drop_params: true
general_settings: general_settings:
disable_responses_id_security: true disable_responses_id_security: true