diff --git a/litellm/proxy/_new_secret_config.yaml b/litellm/proxy/_new_secret_config.yaml index 963121c4a..6159536c2 100644 --- a/litellm/proxy/_new_secret_config.yaml +++ b/litellm/proxy/_new_secret_config.yaml @@ -7,8 +7,9 @@ model_list: general_settings: master_key: sk-1234 - proxy_batch_write_at: 5 # 👈 Frequency of batch writing logs to server (in seconds) + proxy_batch_write_at: 60 # 👈 Frequency of batch writing logs to server (in seconds) enable_jwt_auth: True + alerting: ["slack"] litellm_jwtauth: admin_jwt_scope: "litellm_proxy_admin" team_jwt_scope: "litellm_team" diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.py index 9049a9c2f..2c8106f2a 100644 --- a/litellm/proxy/proxy_server.py +++ b/litellm/proxy/proxy_server.py @@ -689,7 +689,7 @@ async def user_api_key_auth( user_id_information.append(value) if user_id_information is None or ( isinstance(user_id_information, list) - and len(user_id_information) < 2 + and len(user_id_information) < 1 ): if prisma_client is not None: user_id_information = await prisma_client.get_data(