Set Langfuse output to null for embedding responses
This commit is contained in:
parent
056913fd70
commit
d338a94a57
@ -167,7 +167,7 @@ class LangFuseLogger:
|
||||
or isinstance(response_obj, litellm.EmbeddingResponse)
|
||||
):
|
||||
input = prompt
|
||||
output = response_obj["data"]
|
||||
output = None
|
||||
elif response_obj is not None and isinstance(
|
||||
response_obj, litellm.ModelResponse
|
||||
):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user