Skip to content

Commit

Permalink
fix: object id bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dartpain committed May 14, 2024
1 parent a7c0662 commit 0618153
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/api/answer/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0618153

Please sign in to comment.