litellm-enterprise 0.1.21__tar.gz → 0.1.22__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/PKG-INFO +5 -2
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/callback_controls.py +9 -2
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/hooks/managed_files.py +59 -4
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/pyproject.toml +2 -2
- litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/.pytest_cache/.gitignore +0 -2
- litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/.pytest_cache/CACHEDIR.TAG +0 -4
- litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/.pytest_cache/README.md +0 -8
- litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/.pytest_cache/v/cache/nodeids +0 -1
- litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/.pytest_cache/v/cache/stepwise +0 -1
- litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/__pycache__/callback_controls.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/__pycache__/generic_api_callback.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/__pycache__/session_handler.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/pagerduty/__pycache__/pagerduty.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/send_emails/__pycache__/base_email.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/send_emails/__pycache__/endpoints.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/send_emails/__pycache__/resend_email.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/send_emails/__pycache__/smtp_email.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/integrations/__pycache__/custom_guardrail.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/integrations/__pycache__/prometheus.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/litellm_core_utils/__pycache__/litellm_logging.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/proxy/__pycache__/audit_logging_endpoints.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/proxy/__pycache__/enterprise_routes.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/proxy/__pycache__/proxy_server.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/proxy/__pycache__/utils.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/proxy/auth/__pycache__/__init__.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/proxy/auth/__pycache__/custom_sso_handler.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/proxy/auth/__pycache__/route_checks.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/proxy/auth/__pycache__/user_api_key_auth.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/proxy/common_utils/__pycache__/check_batch_cost.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/proxy/guardrails/__pycache__/endpoints.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/proxy/hooks/__pycache__/managed_files.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/proxy/management_endpoints/__pycache__/__init__.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/proxy/management_endpoints/__pycache__/internal_user_endpoints.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/proxy/management_endpoints/__pycache__/key_management_endpoints.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/proxy/vector_stores/__pycache__/endpoints.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/types/enterprise_callbacks/__pycache__/send_emails.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/types/proxy/__pycache__/audit_logging_endpoints.cpython-311.pyc +0 -0
- litellm_enterprise-0.1.21/litellm_enterprise/types/proxy/__pycache__/proxy_server.cpython-311.pyc +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/LICENSE.md +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/README.md +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/__init__.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/example_logging_api.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/generic_api_callback.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/llama_guard.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/llm_guard.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/pagerduty/pagerduty.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secret_detection.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/__init__.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/adafruit.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/adobe.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/age_secret_key.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/airtable_api_key.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/algolia_api_key.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/alibaba.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/asana.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/atlassian_api_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/authress_access_key.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/beamer_api_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/bitbucket.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/bittrex.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/clojars_api_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/codecov_access_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/coinbase_access_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/confluent.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/contentful_api_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/databricks_api_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/datadog_access_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/defined_networking_api_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/digitalocean.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/discord.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/doppler_api_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/droneci_access_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/dropbox.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/duffel_api_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/dynatrace_api_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/easypost.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/etsy_access_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/facebook_access_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/fastly_api_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/finicity.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/finnhub_access_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/flickr_access_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/flutterwave.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/frameio_api_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/freshbooks_access_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/gcp_api_key.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/github_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/gitlab.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/gitter_access_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/gocardless_api_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/grafana.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/hashicorp_tf_api_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/heroku_api_key.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/hubspot_api_key.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/huggingface.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/intercom_api_key.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/jfrog.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/jwt.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/kraken_access_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/kucoin.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/launchdarkly_access_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/linear.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/linkedin.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/lob.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/mailgun.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/mapbox_api_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/mattermost_access_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/messagebird.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/microsoft_teams_webhook.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/netlify_access_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/new_relic.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/nytimes_access_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/okta_access_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/openai_api_key.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/planetscale.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/postman_api_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/prefect_api_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/pulumi_api_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/pypi_upload_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/rapidapi_access_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/readme_api_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/rubygems_api_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/scalingo_api_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/sendbird.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/sendgrid_api_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/sendinblue_api_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/sentry_access_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/shippo_api_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/shopify.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/slack.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/snyk_api_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/squarespace_access_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/sumologic.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/telegram_bot_api_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/travisci_access_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/twitch_api_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/twitter.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/typeform_api_token.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/vault.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/yandex.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/zendesk_secret_key.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/send_emails/base_email.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/send_emails/endpoints.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/send_emails/resend_email.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/send_emails/smtp_email.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/integrations/custom_guardrail.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/litellm_core_utils/litellm_logging.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/audit_logging_endpoints.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/auth/__init__.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/auth/custom_sso_handler.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/auth/route_checks.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/auth/user_api_key_auth.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/common_utils/check_batch_cost.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/enterprise_routes.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/management_endpoints/__init__.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/management_endpoints/internal_user_endpoints.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/management_endpoints/key_management_endpoints.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/proxy_server.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/readme.md +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/utils.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/vector_stores/endpoints.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/types/enterprise_callbacks/send_emails.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/types/proxy/audit_logging_endpoints.py +0 -0
- {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/types/proxy/proxy_server.py +0 -0
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: litellm-enterprise
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.22
|
|
4
4
|
Summary: Package for LiteLLM Enterprise features
|
|
5
|
+
License-File: LICENSE.md
|
|
5
6
|
Author: BerriAI
|
|
6
7
|
Requires-Python: >=3.8, !=2.7.*, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, !=3.6.*, !=3.7.*
|
|
7
8
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -9,6 +10,8 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
9
10
|
Classifier: Programming Language :: Python :: 3.10
|
|
10
11
|
Classifier: Programming Language :: Python :: 3.11
|
|
11
12
|
Classifier: Programming Language :: Python :: 3.12
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
12
15
|
Project-URL: Documentation, https://docs.litellm.ai
|
|
13
16
|
Project-URL: Homepage, https://litellm.ai
|
|
14
17
|
Project-URL: Repository, https://github.com/BerriAI/litellm
|
|
@@ -40,7 +40,7 @@ class EnterpriseCallbackControls:
|
|
|
40
40
|
#########################################################
|
|
41
41
|
# premium user check
|
|
42
42
|
#########################################################
|
|
43
|
-
if not EnterpriseCallbackControls.
|
|
43
|
+
if not EnterpriseCallbackControls._should_allow_dynamic_callback_disabling():
|
|
44
44
|
return False
|
|
45
45
|
#########################################################
|
|
46
46
|
if isinstance(callback, str):
|
|
@@ -84,8 +84,15 @@ class EnterpriseCallbackControls:
|
|
|
84
84
|
return None
|
|
85
85
|
|
|
86
86
|
@staticmethod
|
|
87
|
-
def
|
|
87
|
+
def _should_allow_dynamic_callback_disabling():
|
|
88
|
+
import litellm
|
|
88
89
|
from litellm.proxy.proxy_server import premium_user
|
|
90
|
+
|
|
91
|
+
# Check if admin has disabled this feature
|
|
92
|
+
if litellm.allow_dynamic_callback_disabling is not True:
|
|
93
|
+
verbose_logger.debug("Dynamic callback disabling is disabled by admin via litellm.allow_dynamic_callback_disabling")
|
|
94
|
+
return False
|
|
95
|
+
|
|
89
96
|
if premium_user:
|
|
90
97
|
return True
|
|
91
98
|
verbose_logger.warning(f"Disabling callbacks using request headers is an enterprise feature. {CommonProxyErrors.not_premium_user.value}")
|
|
@@ -296,6 +296,16 @@ class _PROXY_LiteLLMManagedFiles(CustomLogger, BaseFileEndpoints):
|
|
|
296
296
|
file_ids, user_api_key_dict.parent_otel_span
|
|
297
297
|
)
|
|
298
298
|
|
|
299
|
+
data["model_file_id_mapping"] = model_file_id_mapping
|
|
300
|
+
elif call_type == CallTypes.aresponses.value or call_type == CallTypes.responses.value:
|
|
301
|
+
# Handle managed files in responses API input
|
|
302
|
+
input_data = data.get("input")
|
|
303
|
+
if input_data:
|
|
304
|
+
file_ids = self.get_file_ids_from_responses_input(input_data)
|
|
305
|
+
if file_ids:
|
|
306
|
+
model_file_id_mapping = await self.get_model_file_id_mapping(
|
|
307
|
+
file_ids, user_api_key_dict.parent_otel_span
|
|
308
|
+
)
|
|
299
309
|
data["model_file_id_mapping"] = model_file_id_mapping
|
|
300
310
|
elif call_type == CallTypes.afile_content.value:
|
|
301
311
|
retrieve_file_id = cast(Optional[str], data.get("file_id"))
|
|
@@ -453,6 +463,47 @@ class _PROXY_LiteLLMManagedFiles(CustomLogger, BaseFileEndpoints):
|
|
|
453
463
|
file_ids.append(file_id)
|
|
454
464
|
return file_ids
|
|
455
465
|
|
|
466
|
+
def get_file_ids_from_responses_input(
|
|
467
|
+
self, input: Union[str, List[Dict[str, Any]]]
|
|
468
|
+
) -> List[str]:
|
|
469
|
+
"""
|
|
470
|
+
Gets file ids from responses API input.
|
|
471
|
+
|
|
472
|
+
The input can be:
|
|
473
|
+
- A string (no files)
|
|
474
|
+
- A list of input items, where each item can have:
|
|
475
|
+
- type: "input_file" with file_id
|
|
476
|
+
- content: a list that can contain items with type: "input_file" and file_id
|
|
477
|
+
"""
|
|
478
|
+
file_ids: List[str] = []
|
|
479
|
+
|
|
480
|
+
if isinstance(input, str):
|
|
481
|
+
return file_ids
|
|
482
|
+
|
|
483
|
+
if not isinstance(input, list):
|
|
484
|
+
return file_ids
|
|
485
|
+
|
|
486
|
+
for item in input:
|
|
487
|
+
if not isinstance(item, dict):
|
|
488
|
+
continue
|
|
489
|
+
|
|
490
|
+
# Check for direct input_file type
|
|
491
|
+
if item.get("type") == "input_file":
|
|
492
|
+
file_id = item.get("file_id")
|
|
493
|
+
if file_id:
|
|
494
|
+
file_ids.append(file_id)
|
|
495
|
+
|
|
496
|
+
# Check for input_file in content array
|
|
497
|
+
content = item.get("content")
|
|
498
|
+
if isinstance(content, list):
|
|
499
|
+
for content_item in content:
|
|
500
|
+
if isinstance(content_item, dict) and content_item.get("type") == "input_file":
|
|
501
|
+
file_id = content_item.get("file_id")
|
|
502
|
+
if file_id:
|
|
503
|
+
file_ids.append(file_id)
|
|
504
|
+
|
|
505
|
+
return file_ids
|
|
506
|
+
|
|
456
507
|
async def get_model_file_id_mapping(
|
|
457
508
|
self, file_ids: List[str], litellm_parent_otel_span: Span
|
|
458
509
|
) -> dict:
|
|
@@ -478,7 +529,6 @@ class _PROXY_LiteLLMManagedFiles(CustomLogger, BaseFileEndpoints):
|
|
|
478
529
|
for file_id in file_ids:
|
|
479
530
|
## CHECK IF FILE ID IS MANAGED BY LITELM
|
|
480
531
|
is_base64_unified_file_id = _is_base64_encoded_unified_file_id(file_id)
|
|
481
|
-
|
|
482
532
|
if is_base64_unified_file_id:
|
|
483
533
|
litellm_managed_file_ids.append(file_id)
|
|
484
534
|
|
|
@@ -489,6 +539,7 @@ class _PROXY_LiteLLMManagedFiles(CustomLogger, BaseFileEndpoints):
|
|
|
489
539
|
unified_file_object = await self.get_unified_file_id(
|
|
490
540
|
file_id, litellm_parent_otel_span
|
|
491
541
|
)
|
|
542
|
+
|
|
492
543
|
if unified_file_object:
|
|
493
544
|
file_id_mapping[file_id] = unified_file_object.model_mappings
|
|
494
545
|
|
|
@@ -764,18 +815,21 @@ class _PROXY_LiteLLMManagedFiles(CustomLogger, BaseFileEndpoints):
|
|
|
764
815
|
llm_router: Router,
|
|
765
816
|
**data: Dict,
|
|
766
817
|
) -> OpenAIFileObject:
|
|
767
|
-
|
|
818
|
+
|
|
819
|
+
# file_id = convert_b64_uid_to_unified_uid(file_id)
|
|
768
820
|
model_file_id_mapping = await self.get_model_file_id_mapping(
|
|
769
821
|
[file_id], litellm_parent_otel_span
|
|
770
822
|
)
|
|
823
|
+
|
|
771
824
|
specific_model_file_id_mapping = model_file_id_mapping.get(file_id)
|
|
772
825
|
if specific_model_file_id_mapping:
|
|
773
|
-
for model_id,
|
|
774
|
-
await llm_router.afile_delete(model=model_id, file_id=
|
|
826
|
+
for model_id, model_file_id in specific_model_file_id_mapping.items():
|
|
827
|
+
await llm_router.afile_delete(model=model_id, file_id=model_file_id, **data) # type: ignore
|
|
775
828
|
|
|
776
829
|
stored_file_object = await self.delete_unified_file_id(
|
|
777
830
|
file_id, litellm_parent_otel_span
|
|
778
831
|
)
|
|
832
|
+
|
|
779
833
|
if stored_file_object:
|
|
780
834
|
return stored_file_object
|
|
781
835
|
else:
|
|
@@ -796,6 +850,7 @@ class _PROXY_LiteLLMManagedFiles(CustomLogger, BaseFileEndpoints):
|
|
|
796
850
|
model_file_id_mapping
|
|
797
851
|
or await self.get_model_file_id_mapping([file_id], litellm_parent_otel_span)
|
|
798
852
|
)
|
|
853
|
+
|
|
799
854
|
specific_model_file_id_mapping = model_file_id_mapping.get(file_id)
|
|
800
855
|
|
|
801
856
|
if specific_model_file_id_mapping:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "litellm-enterprise"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.22"
|
|
4
4
|
description = "Package for LiteLLM Enterprise features"
|
|
5
5
|
authors = ["BerriAI"]
|
|
6
6
|
readme = "README.md"
|
|
@@ -22,7 +22,7 @@ requires = ["poetry-core"]
|
|
|
22
22
|
build-backend = "poetry.core.masonry.api"
|
|
23
23
|
|
|
24
24
|
[tool.commitizen]
|
|
25
|
-
version = "0.1.
|
|
25
|
+
version = "0.1.22"
|
|
26
26
|
version_files = [
|
|
27
27
|
"pyproject.toml:version",
|
|
28
28
|
"../requirements.txt:litellm-enterprise==",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
# pytest cache directory #
|
|
2
|
-
|
|
3
|
-
This directory contains data from the pytest's cache plugin,
|
|
4
|
-
which provides the `--lf` and `--ff` options, as well as the `cache` fixture.
|
|
5
|
-
|
|
6
|
-
**Do not** commit this to version control.
|
|
7
|
-
|
|
8
|
-
See [the docs](https://docs.pytest.org/en/stable/how-to/cache.html) for more information.
|
litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/.pytest_cache/v/cache/nodeids
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[]
|
litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/.pytest_cache/v/cache/stepwise
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[]
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
litellm_enterprise-0.1.21/litellm_enterprise/integrations/__pycache__/prometheus.cpython-311.pyc
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
litellm_enterprise-0.1.21/litellm_enterprise/proxy/__pycache__/enterprise_routes.cpython-311.pyc
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
litellm_enterprise-0.1.21/litellm_enterprise/proxy/auth/__pycache__/__init__.cpython-311.pyc
DELETED
|
Binary file
|
|
Binary file
|
litellm_enterprise-0.1.21/litellm_enterprise/proxy/auth/__pycache__/route_checks.cpython-311.pyc
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
litellm_enterprise-0.1.21/litellm_enterprise/proxy/guardrails/__pycache__/endpoints.cpython-311.pyc
DELETED
|
Binary file
|
litellm_enterprise-0.1.21/litellm_enterprise/proxy/hooks/__pycache__/managed_files.cpython-311.pyc
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
litellm_enterprise-0.1.21/litellm_enterprise/types/proxy/__pycache__/proxy_server.cpython-311.pyc
DELETED
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/auth/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/proxy_server.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|