mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
Add new model provider Novita AI (#7582)
* feat: add new model provider Novita AI * feat: use deepseek r1 model for examples in Novita AI docs * fix: fix tests * fix: fix tests for novita * fix: fix novita transformation
This commit is contained in:
parent
b33c56cf10
commit
7a92a03565
22 changed files with 581 additions and 86 deletions
|
@ -3252,7 +3252,6 @@ async def aembedding(*args, **kwargs) -> EmbeddingResponse:
|
|||
response = init_response
|
||||
elif asyncio.iscoroutine(init_response):
|
||||
response = await init_response # type: ignore
|
||||
|
||||
if (
|
||||
response is not None
|
||||
and isinstance(response, EmbeddingResponse)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue