james-d-taboola commited on
Commit
52c808c
·
1 Parent(s): 3ef0706

fix: modify log

Browse files
Files changed (1) hide show
  1. app/handlers/response_handler.py +1 -1
app/handlers/response_handler.py CHANGED
@@ -65,7 +65,7 @@ class ResponseHandler:
65
  chat_response = "Sorry, there was an error processing the response. Please try again."
66
  continue
67
  elif stream_delta.event != 'thread.message.delta':
68
- print(f"Stream delta received: {stream_delta}", flush=True)
69
 
70
  if stream_delta.event == 'thread.run.step.completed' and hasattr(stream_delta, 'data'):
71
  if hasattr(stream_delta.data, 'usage'):
 
65
  chat_response = "Sorry, there was an error processing the response. Please try again."
66
  continue
67
  elif stream_delta.event != 'thread.message.delta':
68
+ # print(f"Stream delta received: {stream_delta}", flush=True)
69
 
70
  if stream_delta.event == 'thread.run.step.completed' and hasattr(stream_delta, 'data'):
71
  if hasattr(stream_delta.data, 'usage'):