Skip to content

Commit

Permalink
added print statements on endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
star-nox committed Sep 11, 2023
1 parent c223990 commit a53a544
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ai_ta_backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,9 @@ def logToNomic():
conversation: str = request.args.get('conversation', default='', type=str)
print("In /onResponseCompletion")

print("course_name: ", course_name)
print("conversation: ", conversation)

if course_name == '' or conversation == '':
# proper web error "400 Bad request"
abort(
Expand Down

0 comments on commit a53a544

Please sign in to comment.