mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-13 06:14:51 +00:00
fix: object id bug
This commit is contained in:
1 parent
a7c066291b
commit
0618153390
1 file changed
+2
-2
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user