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
Ishaan Jaff
fc4ca265b8
working create_batch
2024-05-28 15:45:23 -07:00
Ishaan Jaff
4dc7bfebd4
feat - import batches in __init__
2024-05-28 15:35:11 -07:00
Krrish Dholakia
2b729624e6
fix(openai.py): fix deepinfra config optional param
2024-05-27 18:36:34 -07:00
Krrish Dholakia
23542fc1d2
fix(utils.py): support deepinfra optional params
...
Fixes https://github.com/BerriAI/litellm/issues/3855
2024-05-27 09:16:56 -07:00
Krrish Dholakia
e3c5e004c5
feat(databricks.py): add embedding model support
2024-05-23 18:22:03 -07:00
Krrish Dholakia
143a44823a
feat(databricks.py): adds databricks support - completion, async, streaming
...
Closes https://github.com/BerriAI/litellm/issues/2160
2024-05-23 16:29:46 -07:00
Krish Dholakia
dc8f238449
Merge pull request #3657 from phact/patch-4
...
Another dictionary changed size during iteration error
2024-05-20 17:45:50 -07:00
Krrish Dholakia
0016477d3b
feat(proxy_server.py): new 'supported_openai_params' endpoint
...
get supported openai params for a given model
2024-05-20 08:39:50 -07:00
Krrish Dholakia
7da925cada
fix(utils.py): drop response_format if 'drop_params=True' for gpt-4
2024-05-18 13:02:48 -07:00
Sebastián Estévez
d4edf0f0ae
Another dictionary changed size during iteration error
...
```
ImportError while loading conftest '/astra-assistants-api/tests/openai-sdk/conftest.py'.
conftest.py:13: in <module>
from impl.astra_vector import CassandraClient
../../impl/astra_vector.py:45: in <module>
from impl.services.inference_utils import get_embeddings
../../impl/services/inference_utils.py:5: in <module>
import litellm
.cache/pypoetry/virtualenvs/astra-assistants-api-eiSmbCzm-py3.10/lib/python3.10/site-packages/litellm/__init__.py:678: in <module>
from .main import * # type: ignore
.cache/pypoetry/virtualenvs/astra-assistants-api-eiSmbCzm-py3.10/lib/python3.10/site-packages/litellm/main.py:73: in <module>
from .llms.azure_text import AzureTextCompletion
.cache/pypoetry/virtualenvs/astra-assistants-api-eiSmbCzm-py3.10/lib/python3.10/site-packages/litellm/llms/azure_text.py:23: in <module>
openai_text_completion_config = OpenAITextCompletionConfig()
.cache/pypoetry/virtualenvs/astra-assistants-api-eiSmbCzm-py3.10/lib/python3.10/site-packages/litellm/llms/openai.py:192: in __init__
for key, value in locals_.items():
E RuntimeError: dictionary changed size during iteration
```
2024-05-15 17:06:54 -04:00