From 31fe5e4537556ab4a9ef8f934d06ab9251032dde Mon Sep 17 00:00:00 2001 From: jesus Date: Fri, 11 Sep 2026 15:50:52 +0000 Subject: [PATCH] fix(cli): clarify pi compatibility suppression Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- litellm/proxy/client/cli/commands/pi.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/litellm/proxy/client/cli/commands/pi.py b/litellm/proxy/client/cli/commands/pi.py index 7b02da1e9de..56e9a43af2c 100644 --- a/litellm/proxy/client/cli/commands/pi.py +++ b/litellm/proxy/client/cli/commands/pi.py @@ -194,7 +194,10 @@ def provider_block( return { # mutable-ok: JSON serialization requires a mutable object "baseUrl": base_url.rstrip("/") + "/v1", "api": "openai-completions", - "compat": {"supportsStore": False, "supportsLongCacheRetention": False}, # mutable-ok: JSON field + "compat": { # mutable-ok: JSON serialization requires a nested mutable object + "supportsStore": False, + "supportsLongCacheRetention": False, + }, "apiKey": f"${LITELLM_PROXY_API_KEY_ENV}", "models": [_model_entry(model_id, limits) for model_id in model_ids], # mutable-ok: JSON array }