ciyidogan commited on
Commit
6b62dd0
·
verified ·
1 Parent(s): 087ac42

Update websocket_handler.py

Browse files
Files changed (1) hide show
  1. websocket_handler.py +1 -4
websocket_handler.py CHANGED
@@ -308,10 +308,7 @@ async def websocket_endpoint(websocket: WebSocket, session_id: str):
308
 
309
  # Send welcome message from session history
310
  log_info(f"📋 Checking for welcome message in session history...", session_id=session_id)
311
-
312
- # Session'da chat_history kullanılıyor
313
- chat_history = session.chat_history if hasattr(session, 'chat_history') else []
314
-
315
  if chat_history and len(chat_history) > 0:
316
  log_info(f"📋 Found {len(chat_history)} messages in history", session_id=session_id)
317
 
 
308
 
309
  # Send welcome message from session history
310
  log_info(f"📋 Checking for welcome message in session history...", session_id=session_id)
311
+
 
 
 
312
  if chat_history and len(chat_history) > 0:
313
  log_info(f"📋 Found {len(chat_history)} messages in history", session_id=session_id)
314