From f639b052e395c7220cdee9ba9e238a3dbf2fa171 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 9 Feb 2025 12:08:19 +0000 Subject: [PATCH] fix: remove debugging code --- application/api/answer/routes.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/application/api/answer/routes.py b/application/api/answer/routes.py index 2df97b0d..a2e32eba 100644 --- a/application/api/answer/routes.py +++ b/application/api/answer/routes.py @@ -211,16 +211,7 @@ def complete_stream( question, retriever, conversation_id, user_api_key, isNoneDoc=False,index=None ): - try: - import sys - - try: - logger.info(f"Stream question, inside complete_stream: {question}") - except Exception as e: - print(f"Error in logging: {str(e)}", file=sys.stderr) - print(traceback.format_exc(), file=sys.stderr) - - + try: response_full = "" source_log_docs = [] answer = retriever.gen()