suriya7 commited on
Commit
96935ce
·
verified ·
1 Parent(s): 3dd65bd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -37,7 +37,7 @@ while True:
37
  conversation_history.append(user)
38
 
39
  # Ensure conversation starts with a user's input and keep only the last 2 exchanges (4 turns)
40
- conversation_history = conversation_history[-4:]
41
 
42
  # Build the full prompt
43
  prompt = prompt + "\n".join(conversation_history)
 
37
  conversation_history.append(user)
38
 
39
  # Ensure conversation starts with a user's input and keep only the last 2 exchanges (4 turns)
40
+ conversation_history = conversation_history[-2:]
41
 
42
  # Build the full prompt
43
  prompt = prompt + "\n".join(conversation_history)