Skip to content

Commit

Permalink
Merge pull request #160 from eye-on-surveillance/AI/request-flow-fix
Browse files Browse the repository at this point in the history
AI/request-flow-fix
  • Loading branch information
ayyubibrahimi authored Nov 15, 2023
2 parents 061d356 + 6de4e0c commit 9b8d693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/googlecloud/functions/getanswer/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def getanswer(request):
citations_data = answer.get("citations")

end = time.time()
elapsed = math.ceil(end - start)
elapsed = int((end - start) * 1000)
update_supabase(responses_data, citations_data, card_id, elapsed)
logging.info(f"Completed getanswer in {elapsed} seconds")
print(f"\n\t--------- Completed getanswer in {elapsed} seconds --------\n")
Expand Down

0 comments on commit 9b8d693

Please sign in to comment.