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 }