(fix) langfuse check for embedding

This commit is contained in:
ishaan-jaff 2024-01-31 10:28:18 -08:00
parent 6e7987c4fc
commit 71e14cbbda

View file

@ -64,7 +64,7 @@ class LangFuseLogger:
pass
# end of processing langfuse ########################
if kwargs.get("call_type") == "embedding" or isinstance(
if kwargs.get("call_type", None) == "embedding" or isinstance(
response_obj, litellm.EmbeddingResponse
):
input = prompt