Commit graph

184 commits

Author SHA1 Message Date
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
Krrish Dholakia
20cb525a5c feat(assistants/main.py): add assistants api streaming support 2024-06-04 16:30:35 -07:00
Krrish Dholakia
a2ba63955a feat(assistants/main.py): Closes https://github.com/BerriAI/litellm/issues/3993 2024-06-03 18:47:05 -07:00
Krrish Dholakia
5d3a0ace4b fix(openai.py): fix client caching logic 2024-06-01 16:45:56 -07:00
Ishaan Jaff
1a69682282 fix used hashed api key 2024-06-01 09:24:16 -07:00
Ishaan Jaff
a89a6f2ee9 fix - in memory client cache 2024-06-01 08:58:22 -07:00
Ishaan Jaff
d2efc8c63b fix cache openai client for embeddings, text, speech 2024-05-31 21:35:03 -07:00
Ishaan Jaff
9ff540870c fix - linting error 2024-05-31 21:24:14 -07:00
Ishaan Jaff
506251ecdf feat - cache openai clients 2024-05-31 21:22:06 -07:00
Krish Dholakia
c049b6b4af Merge pull request #3936 from BerriAI/litellm_assistants_api_proxy
feat(proxy_server.py): add assistants api endpoints to proxy server
2024-05-31 18:43:22 -07:00
Krrish Dholakia
2fdf4a7bb4 feat(proxy_server.py): add assistants api endpoints to proxy server 2024-05-30 22:44:43 -07:00
Krrish Dholakia
eb159b64e1 fix(openai.py): fix openai response for /audio/speech endpoint 2024-05-30 16:41:06 -07:00
Krrish Dholakia
1e89a1f56e feat(main.py): support openai tts endpoint
Closes https://github.com/BerriAI/litellm/issues/3094
2024-05-30 14:28:28 -07:00
Krrish Dholakia
5f01dce284 fix(main.py): pass api key and api base to openai.py for audio transcription call 2024-05-29 21:29:01 -07:00
Krrish Dholakia
915e599772 fix(openai.py): only allow 'user' as optional param if openai model 2024-05-29 15:15:02 -07:00
Ishaan Jaff
cd4a3627e8 feat - add afile_content, file_content 2024-05-28 20:58:22 -07:00
Ishaan Jaff
fe704e5857 feat - add aretrieve_batch 2024-05-28 17:12:41 -07:00
Ishaan Jaff
c580fe03a0 feat - add acreate_batch 2024-05-28 17:03:29 -07:00
Ishaan Jaff
80cae343cc feat - add litellm.acreate_file 2024-05-28 16:47:27 -07:00