From f36e0fa9eb856672f363a73ee5bcebcf4a6772d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Tue, 11 Nov 2025 12:14:00 +0100 Subject: [PATCH] fix: enhance litellm parameter dropping for codex compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- ai/litellm-config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ai/litellm-config.yaml b/ai/litellm-config.yaml index b05983e..f5dc31e 100644 --- a/ai/litellm-config.yaml +++ b/ai/litellm-config.yaml @@ -28,5 +28,12 @@ litellm_settings: drop_params: true set_verbose: true +router_settings: + allowed_fails: 0 + +# Drop unsupported parameters +default_litellm_params: + drop_params: true + general_settings: disable_responses_id_security: true