Commit graph

3884 commits

Author SHA1 Message Date
Ishaan Jaff
19ab0614c4 fix predibase tests 2024-07-30 22:49:33 -07:00
Krrish Dholakia
24395492aa test: cleanup duplicate tests + add error handling for backend api errors 2024-07-30 21:47:52 -07:00
Krrish Dholakia
14d54f7af5 test(test_completion.py): handle gemini internal server error 2024-07-30 21:02:58 -07:00
Krrish Dholakia
eecd93c81d test(test_streaming.py): fix streaming test 2024-07-30 20:36:19 -07:00
Krish Dholakia
22ff4a1e95
Merge pull request #4979 from BerriAI/litellm_cost_calc_fix
fix(utils.py): fix model registeration to model cost map
2024-07-30 20:32:58 -07:00
Ishaan Jaff
4ed303f936 ci cd run again 2024-07-30 20:03:24 -07:00
Ishaan Jaff
a6122ac293 fix test proxy routes check 2024-07-30 19:56:46 -07:00
Krrish Dholakia
b77edc59ed fix(user_api_key_cache): fix check to not raise error if team object is missing 2024-07-30 18:25:04 -07:00
Krrish Dholakia
46634af06f fix(utils.py): fix model registeration to model cost map
Fixes https://github.com/BerriAI/litellm/issues/4972
2024-07-30 18:15:00 -07:00
Ishaan Jaff
6c0506a144 handle predibase failing streaming tests 2024-07-30 17:53:27 -07:00
Ishaan Jaff
c551e5b47a ci/cd run again 2024-07-30 17:21:47 -07:00
Ishaan Jaff
c5157120a2 fix create ft jobs api test 2024-07-30 17:13:27 -07:00
Ishaan Jaff
d611e5817c fix custom auth test 2024-07-30 16:50:55 -07:00
Ishaan Jaff
9b923e66e9 test azure fine tune job create 2024-07-30 16:46:06 -07:00
Ishaan Jaff
02736ac8b5 feat FT cancel and LIST endpoints for Azure 2024-07-30 16:03:31 -07:00
Ishaan Jaff
c6bff3286c test - fine tuning apis 2024-07-30 15:46:56 -07:00
Ishaan Jaff
73fcac87cb add azure ft test file 2024-07-30 15:42:14 -07:00
Krish Dholakia
653aefde40
Merge branch 'main' into litellm_async_cohere_calls 2024-07-30 15:35:20 -07:00
Krish Dholakia
3a70849ce0
Merge pull request #4976 from BerriAI/litellm_huggingface_embedding_fixes
feat(huggingface_restapi.py): Support multiple hf embedding types + async hf embeddings
2024-07-30 15:34:44 -07:00
Krrish Dholakia
84513c0254 test(test_streaming.py): move to mock implementation for sagemaker streaming tests 2024-07-30 15:34:27 -07:00
Krrish Dholakia
e1cbb397fe test(test_streaming.py): handle predibase instability 2024-07-30 15:32:36 -07:00
Krrish Dholakia
9b2eb1702b fix(cohere.py): support async cohere embedding calls 2024-07-30 14:49:07 -07:00
Krrish Dholakia
185a6857f9 fix(utils.py): fix cost tracking for vertex ai partner models 2024-07-30 14:20:52 -07:00
Krrish Dholakia
69afbc6091 feat(huggingface_restapi.py): Support multiple hf embedding types + async hf embeddings
Closes https://github.com/BerriAI/litellm/issues/3261
2024-07-30 13:32:03 -07:00
Ishaan Jaff
e0d0d45e87
Merge pull request #4973 from BerriAI/litellm_return_code_as_str
[Fix-Proxy] ProxyException code as str - Make OpenAI Compatible
2024-07-30 13:27:33 -07:00
Ishaan Jaff
e7b78a3337 add docs on status code from exceptions 2024-07-30 12:38:33 -07:00
Ishaan Jaff
74c4e3def8 return ProxyException code as str 2024-07-30 12:35:46 -07:00
Ishaan Jaff
4206354ee7 test - list batches 2024-07-30 08:19:25 -07:00
Ishaan Jaff
36dca6bcce
Merge pull request #4956 from BerriAI/litellm_add_finetuning_Endpoints
[Feat] Add `litellm.create_fine_tuning_job()` , `litellm.list_fine_tuning_jobs()`, `litellm.cancel_fine_tuning_job()` finetuning endpoints
2024-07-30 07:47:29 -07:00
Ishaan Jaff
19d57314ee fix inc langfuse flish time 2024-07-29 20:14:45 -07:00
Ishaan Jaff
c9bea3a879 test - async ft jobs 2024-07-29 19:52:14 -07:00
Ishaan Jaff
106626f224 test - list_fine_tuning_jobs 2024-07-29 19:47:14 -07:00
Ishaan Jaff
16d595c4ff test cancel cancel_fine_tuning_job 2024-07-29 19:22:41 -07:00
Ishaan Jaff
3e3f9e3f0c add test_create_fine_tune_job 2024-07-29 18:59:55 -07:00
Ishaan Jaff
e031359e67
Merge pull request #4946 from BerriAI/litellm_Add_bedrock_guardrail_config
[Feat] Bedrock add support for Bedrock Guardrails
2024-07-29 15:09:56 -07:00
Ishaan Jaff
46555ab78b test - bedrock guardrailConfig 2024-07-29 14:13:08 -07:00
Krrish Dholakia
ae4bcd8a41 fix(utils.py): fix trim_messages to handle tool calling
Fixes https://github.com/BerriAI/litellm/issues/4931
2024-07-29 13:04:41 -07:00
Ishaan Jaff
a2939c2f08
Merge pull request #4939 from BerriAI/litellm_log_transcription_resp_langfuse
[Feat-Proxy] - Langfuse log /audio/transcription on langfuse
2024-07-29 08:58:40 -07:00
Ishaan Jaff
285925e10a log output from /audio on langfuse 2024-07-29 08:21:22 -07:00
Ishaan Jaff
ec28e8e630 test - logging litellm-atranscription 2024-07-29 08:17:19 -07:00
Krish Dholakia
442667434a
Merge pull request #4929 from BerriAI/litellm_vertex_mistral_cost_tracking
Support vertex mistral cost tracking
2024-07-27 22:38:33 -07:00
Krish Dholakia
e3a94ac013
Merge pull request #4925 from BerriAI/litellm_vertex_mistral
feat(vertex_ai_partner.py): Vertex AI Mistral Support
2024-07-27 21:51:26 -07:00
Krrish Dholakia
6d5aedc48d feat(databricks.py): support vertex mistral cost tracking 2024-07-27 20:22:35 -07:00
Krrish Dholakia
d1989b6063 fix(utils.py): support fireworks ai finetuned models
Fixes https://github.com/BerriAI/litellm/issues/4923
2024-07-27 15:38:27 -07:00
Krrish Dholakia
f76cad210c fix(utils.py): support fireworks ai finetuned models
Fixes https://github.com/BerriAI/litellm/issues/4923
2024-07-27 15:37:28 -07:00
Krrish Dholakia
05ba34b9b7 fix(utils.py): add exception mapping for databricks errors 2024-07-27 13:13:31 -07:00
Krrish Dholakia
5b71421a7b feat(vertex_ai_partner.py): initial working commit for calling vertex ai mistral
Closes https://github.com/BerriAI/litellm/issues/4874
2024-07-27 12:54:14 -07:00
Krrish Dholakia
fe0b55f2ca fix(utils.py): fix cache hits for streaming
Fixes https://github.com/BerriAI/litellm/issues/4109
2024-07-26 19:04:08 -07:00
Krrish Dholakia
1d6c39a607 feat(proxy_server.py): handle pydantic mockselvar error
Fixes https://github.com/BerriAI/litellm/issues/4898#issuecomment-2252105485
2024-07-26 08:38:51 -07:00
Krrish Dholakia
ce210ddaf6 fix(vertex_ai_llama3.py): Fix llama3 streaming issue
Closes https://github.com/BerriAI/litellm/issues/4885
2024-07-25 22:30:55 -07:00