Commit graph

7724 commits

Author SHA1 Message Date
Krrish Dholakia
8625280c32 test(test_image_generation.py): fix azure dall e test 2024-06-03 23:32:19 -07:00
Krrish Dholakia
8ebae96008 test(test_completion.py): fix test 2024-06-03 23:10:54 -07:00
Krrish Dholakia
a804dfd1b6 test(test_assistants.py): rename test to run earlier in ci pipeline 2024-06-03 22:45:16 -07:00
Krrish Dholakia
90afdd265b test(test_completion.py): fix testing to retry 2024-06-03 22:43:22 -07:00
Ishaan Jaff
fd1a2a90bf ci/cd run again 2024-06-03 22:03:39 -07:00
Krrish Dholakia
7c1e2bf01c test(test_completion.py): fix test 2024-06-03 21:40:32 -07:00
Krish Dholakia
7311e82f47
Merge pull request #3992 from BerriAI/litellm_router_default_request_timeout
fix(router.py): use `litellm.request_timeout` as default for router clients
2024-06-03 21:37:38 -07:00
Ishaan Jaff
0447dc75ed ui - new build 2024-06-03 21:15:00 -07:00
Ishaan Jaff
14fc5ace66 ui - new build 2024-06-03 21:09:29 -07:00
Krrish Dholakia
3d39d23f24 test(test_clarifai_completion.py): skip clarifai tests - account rate limited 2024-06-03 21:07:57 -07:00
Ishaan Jaff
0fa370ae44
Merge pull request #3997 from BerriAI/litellm_filter_latency_by_customer
[Admin UI] Filter Model Latency by Customer, API Key
2024-06-03 21:06:25 -07:00
Krish Dholakia
5ee3b0f30f
Merge pull request #3996 from BerriAI/litellm_azure_assistants_api_support
feat(assistants/main.py): Azure Assistants API support
2024-06-03 21:05:03 -07:00
Ishaan Jaff
c1bac5e89d feat - use inlcusive analytics on proxy 2024-06-03 20:49:21 -07:00
Ishaan Jaff
016b8294b0 feat - filter analytics by customer 2024-06-03 20:42:17 -07:00
Ishaan Jaff
f7f1ce9345 feat - get all unique end_users 2024-06-03 20:19:12 -07:00
Ishaan Jaff
17d421fc70 feat - backend changes for filtering by api key 2024-06-03 19:30:12 -07:00
Krrish Dholakia
2e8f081a86 fix(main.py): cast to string only if var is not None 2024-06-03 19:25:59 -07:00
Ishaan Jaff
73cc3067cd feat - filter model metrics by api key 2024-06-03 18:53:01 -07:00
Krrish Dholakia
7163bce37b feat(assistants/main.py): Closes https://github.com/BerriAI/litellm/issues/3993 2024-06-03 18:47:05 -07:00
Ishaan Jaff
2c12d0445e
Merge pull request #3994 from BerriAI/litellm_ui_select_spend_by_tag
[Feat] Admin UI - Multi-Select Tags, Viewing spend by tags
2024-06-03 16:44:02 -07:00
Ishaan Jaff
45cb899687 fix - working filter by tag query 2024-06-03 15:12:09 -07:00
Ishaan Jaff
2ac8f1c6ec get all tags on ui 2024-06-03 14:21:35 -07:00
Krrish Dholakia
1de5235ba0 fix(router.py): use litellm.request_timeout as default for router clients 2024-06-03 14:19:53 -07:00
Krrish Dholakia
90f5aa7125 fix(main.py): fix ahealth_check to infer mode when custom_llm_provider/model_name used 2024-06-03 14:06:36 -07:00
Krrish Dholakia
5f99938cb8 test(test_amazing_vertex_completion.py): add retries for 'Content has no parts.' error in vertex test 2024-06-03 14:06:36 -07:00
Ishaan Jaff
3d98a462ae feat - return all tag names 2024-06-03 14:02:03 -07:00
Ishaan Jaff
dd7d0a2895
Merge pull request #3983 from BerriAI/litellm_log_request_boddy_langfuse
[Feat] Log Raw Request from LiteLLM on Langfuse - when `"log_raw_request": true`
2024-06-03 13:42:06 -07:00
Krrish Dholakia
a019fd05e3 fix(router.py): fix should_retry logic for authentication errors 2024-06-03 13:12:00 -07:00
Krrish Dholakia
872cd2d8a0 fix(langfuse.py): log litellm response cost as part of langfuse metadata 2024-06-03 12:58:30 -07:00
Ishaan Jaff
ae3dbe8e0c fix logging raw request to langfuse 2024-06-03 07:54:34 -07:00
Ishaan Jaff
857ceb40bc feat - log raw_request to langfuse / other logging providers 2024-06-03 07:53:52 -07:00
Krrish Dholakia
ea30359b38 fix(utils.py): handle else block for get optional params 2024-06-03 07:45:44 -07:00
Krrish Dholakia
5e12307a48 fix(anthropic.py): fix anthropic async streaming
pass the 'stream' param to the httpx call

Addresses https://github.com/BerriAI/litellm/issues/3728#issuecomment-2143985104
2024-06-02 16:01:44 -07:00
Ishaan Jaff
2ce5dc0dfd ci/cd run again 2024-06-01 21:19:32 -07:00
Ishaan Jaff
309a66692f fix test_rate_limit[usage-based-routing-True-3-2] 2024-06-01 21:18:23 -07:00
Ishaan Jaff
ebc29bed8f
Merge pull request #3970 from BerriAI/litellm_traceloop_logging_fixes
[Fix] Traceloop / OTEL logging fixes + easier docs
2024-06-01 21:17:05 -07:00
Ishaan Jaff
a01746c19e fix test_daily_reports_redis_cache_scheduler 2024-06-01 21:00:24 -07:00
Ishaan Jaff
2f9dac6238 test - test gpt-3.5-turbo on test_parallel_streaming_requests 2024-06-01 20:56:33 -07:00
Krrish Dholakia
64ad3f8137 feat(proxy_server.py): log litellm api version on llm api calls
Closes https://github.com/BerriAI/litellm/issues/3673
2024-06-01 19:49:57 -07:00
Ishaan Jaff
85daa467c5 fix - traceloop logging 2024-06-01 19:33:41 -07:00
Krrish Dholakia
9ef83126d7 fix(utils.py): correctly instrument passing through api version in optional param check 2024-06-01 19:31:52 -07:00
Ishaan Jaff
373a41ca6d fix async_function_with_retries 2024-06-01 19:00:22 -07:00
Krrish Dholakia
5e85a5b208 fix(test_scheduler.py): simplify scheduler testing. fix race condition 2024-06-01 18:57:47 -07:00
Krrish Dholakia
7efac4d36c fix(azure.py): support dropping 'tool_choice=required' for older azure API versions
Closes https://github.com/BerriAI/litellm/issues/3876
2024-06-01 18:44:50 -07:00
Ishaan Jaff
054456c50e
Merge pull request #3963 from BerriAI/litellm_set_allowed_fail_policy
[FEAT]- set custom AllowedFailsPolicy on litellm.Router
2024-06-01 17:57:11 -07:00
Ishaan Jaff
fb49d036fb
Merge pull request #3962 from BerriAI/litellm_return_num_rets_max_exceptions
[Feat] return `num_retries` and `max_retries` in exceptions
2024-06-01 17:48:38 -07:00
Ishaan Jaff
d4378143f1 fix current_attempt, num_retries not defined 2024-06-01 17:42:37 -07:00
Ishaan Jaff
4eaeec2a2d feat - set allowed fails policy 2024-06-01 17:39:44 -07:00
Ishaan Jaff
eb203c051a feat - set custom AllowedFailsPolicy 2024-06-01 17:26:21 -07:00
Ishaan Jaff
cfc55b39a9 fix - return in LITELLM_EXCEPTION_TYPES 2024-06-01 17:05:33 -07:00