From 912e7617c1e466894c82a5c21e2f7adfb8ee3b0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sascha=20K=C3=B6nig?= Date: Thu, 29 Oct 2026 13:52:47 +0100 Subject: [PATCH] fix: drop_params setting LiteLLM --- hosts/AZ-CLD-1/services/containers/litellm.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/AZ-CLD-1/services/containers/litellm.nix b/hosts/AZ-CLD-1/services/containers/litellm.nix index 26864bd..e0803bd 100644 --- a/hosts/AZ-CLD-1/services/containers/litellm.nix +++ b/hosts/AZ-CLD-1/services/containers/litellm.nix @@ -47,6 +47,11 @@ # Prometheus scrapes with a bearer token from an agenix secret on AZ-PRM-1. settings["require_auth_for_metrics_endpoint"] = True + # LiteLLM >= 1.106 forwards OpenAI-only params (e.g. "store") to every + # provider instead of silently ignoring them; Mistral & Co. then reject + # the request with UnsupportedParamsError. Drop unsupported params. + settings["drop_params"] = True + # LiteLLM >= 1.106 warns about the shared static UI login via # UI_USERNAME/UI_PASSWORD or the master key. Admin accounts live in # the DB (Internal Users, role proxy_admin), so the env login is off.