fix: object id bug

This commit is contained in:
Alex
2024-05-14 19:01:45 +01:00
parent a7c066291b
commit 0618153390

View File

@@ -334,9 +334,9 @@ def api_answer():
)
result = {"answer": response_full, "sources": source_log_docs}
result["conversation_id"] = save_conversation(
result["conversation_id"] = str(save_conversation(
conversation_id, question, response_full, source_log_docs, llm
)
))
return result
except Exception as e: