fix: remove debugging code

This commit is contained in:
Alex
2025-02-09 12:08:19 +00:00
parent 56f91948f8
commit f639b052e3

View File

@@ -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()