litellm-mirror/litellm/integrations
Krish Dholakia 72e961af3c
LiteLLM Minor Fixes and Improvements (08/06/2024) (#5567)
* fix(utils.py): return citations for perplexity streaming

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

* fix(anthropic/chat.py): support fallbacks for anthropic streaming (#5542)

* fix(anthropic/chat.py): support fallbacks for anthropic streaming

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

* fix(anthropic/chat.py): use module level http client if none given (prevents early client closure)

* fix: fix linting errors

* fix(http_handler.py): fix raise_for_status error handling

* test: retry flaky test

* fix otel type

* fix(bedrock/embed): fix error raising

* test(test_openai_batches_and_files.py): skip azure batches test (for now) quota exceeded

* fix(test_router.py): skip azure batch route test (for now) - hit batch quota limits

---------

Co-authored-by: Ishaan Jaff <ishaanjaffer0324@gmail.com>

* All `model_group_alias` should show up in `/models`, `/model/info` , `/model_group/info` (#5539)

* fix(router.py): support returning model_alias model names in `/v1/models`

* fix(proxy_server.py): support returning model alias'es on `/model/info`

* feat(router.py): support returning model group alias for `/model_group/info`

* fix(proxy_server.py): fix linting errors

* fix(proxy_server.py): fix linting errors

* build(model_prices_and_context_window.json): add amazon titan text premier pricing information

Closes https://github.com/BerriAI/litellm/issues/5560

* feat(litellm_logging.py): log standard logging response object for pass through endpoints. Allows bedrock /invoke agent calls to be correctly logged to langfuse + s3

* fix(success_handler.py): fix linting error

* fix(success_handler.py): fix linting errors

* fix(team_endpoints.py): Allows admin to update team member budgets

---------

Co-authored-by: Ishaan Jaff <ishaanjaffer0324@gmail.com>
2024-09-06 17:16:24 -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 fix datadog log exceptions 2024-09-06 14:36:35 -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 Update lago.py to accomodate API change (#5495) (#5543) 2024-09-05 17:27:40 -07:00
langfuse.py LiteLLM Minor Fixes and Improvements (08/06/2024) (#5567) 2024-09-06 17:16:24 -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 fix otel type 2024-09-05 19:04:56 -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 LiteLLM Minor Fixes and Improvements (08/06/2024) (#5567) 2024-09-06 17:16:24 -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