litellm-mirror/litellm/integrations
Krish Dholakia 1e7e538261
LiteLLM Minor fixes + improvements (08/04/2024) (#5505)
* Minor IAM AWS OIDC Improvements (#5246)

* AWS IAM: Temporary tokens are valid across all regions after being issued, so it is wasteful to request one for each region.

* AWS IAM: Include an inline policy, to help reduce misuse of overly permissive IAM roles.

* (test_bedrock_completion.py): Ensure we are testing cross AWS region OIDC flow.

* fix(router.py): log rejected requests

Fixes https://github.com/BerriAI/litellm/issues/5498

* refactor: don't use verbose_logger.exception, if exception is raised

User might already have handling for this. But alerting systems in prod will raise this as an unhandled error.

* fix(datadog.py): support setting datadog source as an env var

Fixes https://github.com/BerriAI/litellm/issues/5508

* docs(logging.md): add dd_source to datadog docs

* fix(proxy_server.py): expose `/customer/list` endpoint for showing all customers

* (bedrock): Fix usage with Cloudflare AI Gateway, and proxies in general. (#5509)

* feat(anthropic.py): support 'cache_control' param for content when it is a string

* Revert "(bedrock): Fix usage with Cloudflare AI Gateway, and proxies in gener…" (#5519)

This reverts commit 3fac0349c2.

* refactor: ci/cd run again

---------

Co-authored-by: David Manouchehri <david.manouchehri@ai.moda>
2024-09-04 22:16:55 -07:00
..
_types feat - arize ai open inference types 2024-07-22 11:07:48 -07:00
email_templates fix - move email templates 2024-05-31 10:37:56 -07:00
prometheus_helpers use litellm_ prefix for new deployment metrics 2024-08-14 09:08:14 -07:00
__init__.py add linting 2023-08-18 11:05:05 -07:00
aispend.py refactor: replace 'traceback.print_exc()' with logging library 2024-06-06 13:47:43 -07:00
arize_ai.py feat - arize ai log llm i/o 2024-07-22 13:47:58 -07:00
athina.py Merge pull request #3071 from vivek-athina/main 2024-05-23 15:31:12 -07:00
berrispend.py refactor: replace 'traceback.print_exc()' with logging library 2024-06-06 13:47:43 -07:00
braintrust_logging.py LiteLLM Minor fixes + improvements (08/04/2024) (#5505) 2024-09-04 22:16:55 -07:00
clickhouse.py fix - remove deprecated clickhouse utils 2024-06-15 15:33:26 -07:00
custom_guardrail.py fix use guardrail for pre call hook 2024-08-23 09:34:08 -07:00
custom_logger.py LiteLLM minor fixes + improvements (31/08/2024) (#5464) 2024-09-01 13:31:42 -07:00
datadog.py LiteLLM Minor fixes + improvements (08/04/2024) (#5505) 2024-09-04 22:16:55 -07:00
dynamodb.py refactor: replace 'traceback.print_exc()' with logging library 2024-06-06 13:47:43 -07:00
email_alerting.py refactor: replace .error() with .exception() logging for better debugging on sentry 2024-08-16 09:22:47 -07:00
galileo.py fix init for async http handler 2024-07-05 20:29:47 -07:00
gcs_bucket.py add gcs bucket base 2024-08-30 10:41:39 -07:00
gcs_bucket_base.py add sync_construct_request_headers 2024-09-03 10:36:10 -07:00
greenscale.py feat(proxy_server.py): return litellm version in response headers 2024-05-08 16:00:08 -07:00
helicone.py anthropic gateway fixes 2024-07-25 11:37:29 -07:00
lago.py LiteLLM Minor fixes + improvements (08/03/2024) (#5488) 2024-09-03 21:21:34 -07:00
langfuse.py - merge - fix TypeError: 'CompletionUsage' object is not subscriptable #5441 (#5448) 2024-08-30 08:54:42 -07:00
langsmith.py Support LangSmith parent_run_id, trace_id, session_id 2024-08-21 16:09:30 -04:00
litedebugger.py refactor: add black formatting 2023-12-25 14:11:20 +05:30
logfire_logger.py fix logfire - don't load_dotenv 2024-07-25 19:22:26 -07:00
lunary.py fix: Lunary integration 2024-06-24 14:09:40 +01:00
openmeter.py fix(litellm_logging.py): fix calling success callback w/ stream_options true 2024-08-09 18:20:42 -07:00
opentelemetry.py otel log service errors 2024-08-05 20:21:26 -07:00
prometheus.py feat prometheus add metric for failure / model 2024-08-31 10:05:23 -07:00
prometheus_services.py feat(bedrock_httpx.py): moves to using httpx client for bedrock cohere calls 2024-05-11 13:43:08 -07:00
prompt_layer.py feat(bedrock_httpx.py): moves to using httpx client for bedrock cohere calls 2024-05-11 13:43:08 -07:00
s3.py fix(s3.py): fix s3 logging payload to have valid json values 2024-08-15 17:09:02 -07:00
slack_alerting.py LiteLLM Minor Fixes + Improvements (#5474) 2024-09-02 14:29:57 -07:00
supabase.py refactor: replace 'traceback.print_exc()' with logging library 2024-06-06 13:47:43 -07:00
test_httpx.py fix(utils.py): improved predibase exception mapping 2024-06-08 14:32:43 -07:00
traceloop.py fix - traceloop logging 2024-06-01 19:33:41 -07:00
weights_biases.py refactor: replace 'traceback.print_exc()' with logging library 2024-06-06 13:47:43 -07:00