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.
Files changed (164) hide show
  1. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/PKG-INFO +5 -2
  2. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/callback_controls.py +9 -2
  3. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/hooks/managed_files.py +59 -4
  4. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/pyproject.toml +2 -2
  5. litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/.pytest_cache/.gitignore +0 -2
  6. litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/.pytest_cache/CACHEDIR.TAG +0 -4
  7. litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/.pytest_cache/README.md +0 -8
  8. litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/.pytest_cache/v/cache/nodeids +0 -1
  9. litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/.pytest_cache/v/cache/stepwise +0 -1
  10. litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/__pycache__/callback_controls.cpython-311.pyc +0 -0
  11. litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/__pycache__/generic_api_callback.cpython-311.pyc +0 -0
  12. litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/__pycache__/session_handler.cpython-311.pyc +0 -0
  13. litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/pagerduty/__pycache__/pagerduty.cpython-311.pyc +0 -0
  14. litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/send_emails/__pycache__/base_email.cpython-311.pyc +0 -0
  15. litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/send_emails/__pycache__/endpoints.cpython-311.pyc +0 -0
  16. litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/send_emails/__pycache__/resend_email.cpython-311.pyc +0 -0
  17. litellm_enterprise-0.1.21/litellm_enterprise/enterprise_callbacks/send_emails/__pycache__/smtp_email.cpython-311.pyc +0 -0
  18. litellm_enterprise-0.1.21/litellm_enterprise/integrations/__pycache__/custom_guardrail.cpython-311.pyc +0 -0
  19. litellm_enterprise-0.1.21/litellm_enterprise/integrations/__pycache__/prometheus.cpython-311.pyc +0 -0
  20. litellm_enterprise-0.1.21/litellm_enterprise/litellm_core_utils/__pycache__/litellm_logging.cpython-311.pyc +0 -0
  21. litellm_enterprise-0.1.21/litellm_enterprise/proxy/__pycache__/audit_logging_endpoints.cpython-311.pyc +0 -0
  22. litellm_enterprise-0.1.21/litellm_enterprise/proxy/__pycache__/enterprise_routes.cpython-311.pyc +0 -0
  23. litellm_enterprise-0.1.21/litellm_enterprise/proxy/__pycache__/proxy_server.cpython-311.pyc +0 -0
  24. litellm_enterprise-0.1.21/litellm_enterprise/proxy/__pycache__/utils.cpython-311.pyc +0 -0
  25. litellm_enterprise-0.1.21/litellm_enterprise/proxy/auth/__pycache__/__init__.cpython-311.pyc +0 -0
  26. litellm_enterprise-0.1.21/litellm_enterprise/proxy/auth/__pycache__/custom_sso_handler.cpython-311.pyc +0 -0
  27. litellm_enterprise-0.1.21/litellm_enterprise/proxy/auth/__pycache__/route_checks.cpython-311.pyc +0 -0
  28. litellm_enterprise-0.1.21/litellm_enterprise/proxy/auth/__pycache__/user_api_key_auth.cpython-311.pyc +0 -0
  29. litellm_enterprise-0.1.21/litellm_enterprise/proxy/common_utils/__pycache__/check_batch_cost.cpython-311.pyc +0 -0
  30. litellm_enterprise-0.1.21/litellm_enterprise/proxy/guardrails/__pycache__/endpoints.cpython-311.pyc +0 -0
  31. litellm_enterprise-0.1.21/litellm_enterprise/proxy/hooks/__pycache__/managed_files.cpython-311.pyc +0 -0
  32. litellm_enterprise-0.1.21/litellm_enterprise/proxy/management_endpoints/__pycache__/__init__.cpython-311.pyc +0 -0
  33. litellm_enterprise-0.1.21/litellm_enterprise/proxy/management_endpoints/__pycache__/internal_user_endpoints.cpython-311.pyc +0 -0
  34. litellm_enterprise-0.1.21/litellm_enterprise/proxy/management_endpoints/__pycache__/key_management_endpoints.cpython-311.pyc +0 -0
  35. litellm_enterprise-0.1.21/litellm_enterprise/proxy/vector_stores/__pycache__/endpoints.cpython-311.pyc +0 -0
  36. litellm_enterprise-0.1.21/litellm_enterprise/types/enterprise_callbacks/__pycache__/send_emails.cpython-311.pyc +0 -0
  37. litellm_enterprise-0.1.21/litellm_enterprise/types/proxy/__pycache__/audit_logging_endpoints.cpython-311.pyc +0 -0
  38. litellm_enterprise-0.1.21/litellm_enterprise/types/proxy/__pycache__/proxy_server.cpython-311.pyc +0 -0
  39. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/LICENSE.md +0 -0
  40. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/README.md +0 -0
  41. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/__init__.py +0 -0
  42. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/example_logging_api.py +0 -0
  43. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/generic_api_callback.py +0 -0
  44. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/llama_guard.py +0 -0
  45. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/llm_guard.py +0 -0
  46. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/pagerduty/pagerduty.py +0 -0
  47. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secret_detection.py +0 -0
  48. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/__init__.py +0 -0
  49. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/adafruit.py +0 -0
  50. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/adobe.py +0 -0
  51. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/age_secret_key.py +0 -0
  52. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/airtable_api_key.py +0 -0
  53. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/algolia_api_key.py +0 -0
  54. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/alibaba.py +0 -0
  55. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/asana.py +0 -0
  56. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/atlassian_api_token.py +0 -0
  57. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/authress_access_key.py +0 -0
  58. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/beamer_api_token.py +0 -0
  59. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/bitbucket.py +0 -0
  60. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/bittrex.py +0 -0
  61. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/clojars_api_token.py +0 -0
  62. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/codecov_access_token.py +0 -0
  63. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/coinbase_access_token.py +0 -0
  64. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/confluent.py +0 -0
  65. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/contentful_api_token.py +0 -0
  66. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/databricks_api_token.py +0 -0
  67. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/datadog_access_token.py +0 -0
  68. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/defined_networking_api_token.py +0 -0
  69. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/digitalocean.py +0 -0
  70. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/discord.py +0 -0
  71. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/doppler_api_token.py +0 -0
  72. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/droneci_access_token.py +0 -0
  73. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/dropbox.py +0 -0
  74. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/duffel_api_token.py +0 -0
  75. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/dynatrace_api_token.py +0 -0
  76. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/easypost.py +0 -0
  77. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/etsy_access_token.py +0 -0
  78. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/facebook_access_token.py +0 -0
  79. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/fastly_api_token.py +0 -0
  80. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/finicity.py +0 -0
  81. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/finnhub_access_token.py +0 -0
  82. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/flickr_access_token.py +0 -0
  83. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/flutterwave.py +0 -0
  84. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/frameio_api_token.py +0 -0
  85. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/freshbooks_access_token.py +0 -0
  86. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/gcp_api_key.py +0 -0
  87. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/github_token.py +0 -0
  88. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/gitlab.py +0 -0
  89. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/gitter_access_token.py +0 -0
  90. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/gocardless_api_token.py +0 -0
  91. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/grafana.py +0 -0
  92. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/hashicorp_tf_api_token.py +0 -0
  93. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/heroku_api_key.py +0 -0
  94. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/hubspot_api_key.py +0 -0
  95. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/huggingface.py +0 -0
  96. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/intercom_api_key.py +0 -0
  97. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/jfrog.py +0 -0
  98. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/jwt.py +0 -0
  99. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/kraken_access_token.py +0 -0
  100. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/kucoin.py +0 -0
  101. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/launchdarkly_access_token.py +0 -0
  102. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/linear.py +0 -0
  103. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/linkedin.py +0 -0
  104. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/lob.py +0 -0
  105. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/mailgun.py +0 -0
  106. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/mapbox_api_token.py +0 -0
  107. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/mattermost_access_token.py +0 -0
  108. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/messagebird.py +0 -0
  109. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/microsoft_teams_webhook.py +0 -0
  110. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/netlify_access_token.py +0 -0
  111. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/new_relic.py +0 -0
  112. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/nytimes_access_token.py +0 -0
  113. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/okta_access_token.py +0 -0
  114. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/openai_api_key.py +0 -0
  115. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/planetscale.py +0 -0
  116. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/postman_api_token.py +0 -0
  117. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/prefect_api_token.py +0 -0
  118. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/pulumi_api_token.py +0 -0
  119. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/pypi_upload_token.py +0 -0
  120. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/rapidapi_access_token.py +0 -0
  121. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/readme_api_token.py +0 -0
  122. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/rubygems_api_token.py +0 -0
  123. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/scalingo_api_token.py +0 -0
  124. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/sendbird.py +0 -0
  125. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/sendgrid_api_token.py +0 -0
  126. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/sendinblue_api_token.py +0 -0
  127. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/sentry_access_token.py +0 -0
  128. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/shippo_api_token.py +0 -0
  129. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/shopify.py +0 -0
  130. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/slack.py +0 -0
  131. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/snyk_api_token.py +0 -0
  132. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/squarespace_access_token.py +0 -0
  133. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/sumologic.py +0 -0
  134. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/telegram_bot_api_token.py +0 -0
  135. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/travisci_access_token.py +0 -0
  136. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/twitch_api_token.py +0 -0
  137. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/twitter.py +0 -0
  138. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/typeform_api_token.py +0 -0
  139. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/vault.py +0 -0
  140. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/yandex.py +0 -0
  141. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/secrets_plugins/zendesk_secret_key.py +0 -0
  142. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/send_emails/base_email.py +0 -0
  143. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/send_emails/endpoints.py +0 -0
  144. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/send_emails/resend_email.py +0 -0
  145. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/enterprise_callbacks/send_emails/smtp_email.py +0 -0
  146. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/integrations/custom_guardrail.py +0 -0
  147. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/litellm_core_utils/litellm_logging.py +0 -0
  148. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/audit_logging_endpoints.py +0 -0
  149. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/auth/__init__.py +0 -0
  150. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/auth/custom_sso_handler.py +0 -0
  151. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/auth/route_checks.py +0 -0
  152. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/auth/user_api_key_auth.py +0 -0
  153. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/common_utils/check_batch_cost.py +0 -0
  154. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/enterprise_routes.py +0 -0
  155. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/management_endpoints/__init__.py +0 -0
  156. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/management_endpoints/internal_user_endpoints.py +0 -0
  157. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/management_endpoints/key_management_endpoints.py +0 -0
  158. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/proxy_server.py +0 -0
  159. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/readme.md +0 -0
  160. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/utils.py +0 -0
  161. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/proxy/vector_stores/endpoints.py +0 -0
  162. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/types/enterprise_callbacks/send_emails.py +0 -0
  163. {litellm_enterprise-0.1.21 → litellm_enterprise-0.1.22}/litellm_enterprise/types/proxy/audit_logging_endpoints.py +0 -0
  164. {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
1
+ Metadata-Version: 2.4
2
2
  Name: litellm-enterprise
3
- Version: 0.1.21
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._premium_user_check():
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 _premium_user_check():
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
- file_id = convert_b64_uid_to_unified_uid(file_id)
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, file_id in specific_model_file_id_mapping.items():
774
- await llm_router.afile_delete(model=model_id, file_id=file_id, **data) # type: ignore
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.21"
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.21"
25
+ version = "0.1.22"
26
26
  version_files = [
27
27
  "pyproject.toml:version",
28
28
  "../requirements.txt:litellm-enterprise==",
@@ -1,2 +0,0 @@
1
- # Created by pytest automatically.
2
- *
@@ -1,4 +0,0 @@
1
- Signature: 8a477f597d28d172789f06886806bc55
2
- # This file is a cache directory tag created by pytest.
3
- # For information about cache directory tags, see:
4
- # https://bford.info/cachedir/spec.html
@@ -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.