forked from phoenix/litellm-mirror
(feat) async embeddings: OpenAI
This commit is contained in:
parent
3891462b29
commit
09caab549a
3 changed files with 63 additions and 10 deletions
|
@ -1303,6 +1303,8 @@ def client(original_function):
|
|||
return result
|
||||
elif "acompletion" in kwargs and kwargs["acompletion"] == True:
|
||||
return result
|
||||
elif "aembedding" in kwargs and kwargs["aembedding"] == True:
|
||||
return result
|
||||
|
||||
### POST-CALL RULES ###
|
||||
post_call_processing(original_response=result, model=model)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue