Update README.md
Browse files
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[-
|
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)
|