fix(ollama.py): fix async completion calls for ollama

This commit is contained in:
Krrish Dholakia 2023-12-13 13:10:25 -08:00
parent aa649a8599
commit 2231601d5a
7 changed files with 35 additions and 17 deletions

View file

@ -58,7 +58,7 @@ class LangsmithLogger:
"inputs": {
**new_kwargs
},
"outputs": response_obj,
"outputs": response_obj.json(),
"session_name": project_name,
"start_time": start_time,
"end_time": end_time,