From a53a5447ba8c816574edf4973fb93b5c12dcb10f Mon Sep 17 00:00:00 2001 From: star-nox Date: Mon, 11 Sep 2023 13:57:23 -0500 Subject: [PATCH] added print statements on endpoint --- ai_ta_backend/main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ai_ta_backend/main.py b/ai_ta_backend/main.py index 645b3732..2a056787 100644 --- a/ai_ta_backend/main.py +++ b/ai_ta_backend/main.py @@ -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(