mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
fix logging error
This commit is contained in:
parent
762d590500
commit
1a8144360e
1 changed files with 3 additions and 0 deletions
|
@ -1404,6 +1404,9 @@ def embedding(
|
||||||
)
|
)
|
||||||
## EMBEDDING CALL
|
## EMBEDDING CALL
|
||||||
response = openai.Embedding.create(input=input, model=model)
|
response = openai.Embedding.create(input=input, model=model)
|
||||||
|
|
||||||
|
## LOGGING
|
||||||
|
logging.post_call(input=input, api_key=openai.api_key, original_response=response)
|
||||||
elif model in litellm.cohere_embedding_models:
|
elif model in litellm.cohere_embedding_models:
|
||||||
cohere_key = (
|
cohere_key = (
|
||||||
api_key
|
api_key
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue