Commit graph

202 commits

Author SHA1 Message Date
Ishaan Jaff
7370a994f5 use correct type hints for audio transcriptions 2024-09-05 09:12:27 -07:00
Krrish Dholakia
c385383f78 fix(openai.py): fix error re-raising 2024-08-27 17:06:25 -07:00
Krrish Dholakia
adcf1fc53d fix(openai.py): fix post call error logging for aembedding calls 2024-08-27 14:26:06 -07:00
Krrish Dholakia
0088aae02f fix(azure.py): fix raw response dump 2024-08-27 13:44:38 -07:00
Krrish Dholakia
b1289b0d19 fix: fix linting errors 2024-08-27 12:14:23 -07:00
Krrish Dholakia
30bf8a4c1d test: fix test 2024-08-27 10:46:57 -07:00
Krrish Dholakia
79bfdb83cc fix(main.py): cover openai /v1/completions endpoint 2024-08-24 13:25:17 -07:00
Krrish Dholakia
a6c38e8bff fix(openai.py): coverage for correctly re-raising exception headers on openai chat completion + embedding endpoints 2024-08-24 12:55:15 -07:00
Krrish Dholakia
27a5cd12e0 fix(utils.py): correctly re-raise the headers from an exception, if present
Fixes issue where retry after on router was not using azure / openai numbers
2024-08-24 12:30:30 -07:00
Mike
8b6879d243 Add the "stop" parameter to the mistral API interface, it is now supported 2024-08-16 23:29:22 +00:00
Krrish Dholakia
6ff21433da fix(openai.py): fix position of invalid_params param 2024-08-10 09:52:27 -07:00
Krrish Dholakia
99e60a7ff7 refactor(openai/azure.py): move to returning openai/azure response headers by default
Allows token tracking to work more reliably across multiple azure/openai deployments
2024-08-02 09:42:08 -07:00
Ishaan Jaff
0a3dbe0659 fix linting errors 2024-07-30 12:51:39 -07:00
Ishaan Jaff
4d2e98802f feat add support for alist_batches 2024-07-30 08:18:52 -07:00
Krrish Dholakia
ce7257ec5e 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
Ishaan Jaff
eca6c0ccaa add verbose_logger.debug to retrieve batch 2024-07-26 18:26:39 -07:00
Ishaan Jaff
591857082b feat - support health check audio_speech 2024-07-25 17:26:14 -07:00
Ishaan Jaff
56b55b6ab4 fix whisper health check with litellm 2024-07-25 17:22:57 -07:00
Krrish Dholakia
dc9dcfefac fix(openai.py): check if error body is a dictionary before indexing in 2024-07-22 18:12:04 -07:00
Ishaan Jaff
e43604ef91 fix make_sync_openai_audio_transcriptions_request 2024-07-20 20:03:12 -07:00
Ishaan Jaff
419c6cd37e fix merge conflicts 2024-07-20 19:14:20 -07:00
Ishaan Jaff
04e3ebf627 Merge branch 'main' into litellm_return-response_headers 2024-07-20 19:05:56 -07:00
Ishaan Jaff
98bc63bff4 fix make_sync_openai_audio_transcriptions_request 2024-07-20 18:17:21 -07:00
Ishaan Jaff
2dcbd5c534 rename to _response_headers 2024-07-20 17:31:16 -07:00
Ishaan Jaff
2e24d17eac return response headers 2024-07-20 15:26:44 -07:00
Krrish Dholakia
a01a45230c fix(openai.py): support completion, streaming, async_streaming 2024-07-20 15:23:42 -07:00
Krrish Dholakia
6a7bf0c251 fix(openai.py): drop invalid params if drop_params: true for azure ai
Fixes https://github.com/BerriAI/litellm/issues/4800
2024-07-20 15:08:15 -07:00
Ishaan Jaff
c07b8d9575 openai - return response headers 2024-07-20 15:04:27 -07:00
Ishaan Jaff
eca6c4ba31 openai return response headers 2024-07-20 14:07:41 -07:00
Ishaan Jaff
6d23b78a92 fix remove index from tool calls cohere error 2024-07-16 21:49:45 -07:00
Ishaan Jaff
b4138cf9e5 add all openai file endpoints 2024-07-10 15:35:21 -07:00
Ishaan Jaff
84c172f9fc add retrive file to litellm SDK 2024-07-10 14:51:48 -07:00
Ishaan Jaff
49af2d831e add async assistants delete support 2024-07-10 11:14:40 -07:00
Ishaan Jaff
08caa5ac26 add delete assistant SDK 2024-07-10 10:33:00 -07:00
Ishaan Jaff
bb2a4422e3 add acreate_assistants 2024-07-09 09:33:41 -07:00
Ishaan Jaff
17aadfad7c add create_assistants 2024-07-09 08:51:42 -07:00
Krrish Dholakia
d68ab2a8bc fix(whisper---handle-openai/azure-vtt-response-format): Fixes https://github.com/BerriAI/litellm/issues/4595 2024-07-08 09:10:40 -07:00
Krrish Dholakia
a00a1267bc fix(utils.py): support 'drop_params' for 'parallel_tool_calls'
Closes https://github.com/BerriAI/litellm/issues/4584

 OpenAI-only param
2024-07-08 07:36:41 -07:00
Ishaan Jaff
4b5b66a8c5 feat - return headers for openai audio transcriptions 2024-07-01 20:27:27 -07:00
Ishaan Jaff
107876ea46 feat - add response_headers in litellm_logging_obj 2024-07-01 17:25:15 -07:00
Ishaan Jaff
c930ba2b0f return azure response headers 2024-07-01 17:09:06 -07:00
Ishaan Jaff
ae7f39417d feat - return response headers for async openai requests 2024-07-01 17:01:42 -07:00
Krrish Dholakia
ca22d2a106 fix(main.py): pass in openrouter as custom provider for openai client call
Fixes https://github.com/BerriAI/litellm/issues/4414
2024-06-28 21:26:42 -07:00
Ishaan Jaff
db4b9b8a84 fix - reuse client initialized on proxy config 2024-06-26 16:16:58 -07:00
Ishaan Jaff
f4db69a275 fix - /moderation don't require a model 2024-06-21 16:00:43 -07:00
Krrish Dholakia
7966266d4f fix(main.py): route openai calls to /completion when text_completion is True 2024-06-19 12:37:05 -07:00
Krrish Dholakia
772b4f6614 fix(openai.py): deepinfra function calling - drop_params support for unsupported tool choice value 2024-06-18 16:19:57 -07:00
Ishaan Jaff
994b88118b feat - add azure ai studio models on litellm ui 2024-06-12 20:28:16 -07:00
Ishaan Jaff
dbdf102a01 feat - add mistral embedding config 2024-06-12 15:00:00 -07:00
Krrish Dholakia
7728fe185b feat(assistants/main.py): support arun_thread_stream 2024-06-04 16:47:51 -07:00