cochi1706 commited on
Commit
f5b8a40
·
1 Parent(s): 5b966ea

Comment out history message extension in response handling to prevent unintended message accumulation in chatbot application.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -68,7 +68,7 @@ def respond(
68
  })
69
 
70
  # Thêm history (đã có format đúng)
71
- messages.extend(history)
72
 
73
  # Thêm message hiện tại từ user
74
  if user_message:
 
68
  })
69
 
70
  # Thêm history (đã có format đúng)
71
+ # messages.extend(history)
72
 
73
  # Thêm message hiện tại từ user
74
  if user_message: