AiAgent / memory /conversation_history.py
tarek29910's picture
Upload 22 files
b303183 verified
raw
history blame contribute delete
221 Bytes
# Stores chat history
class ConversationHistory:
def __init__(self):
self.history = []
def store(self, user_input):
self.history.append(user_input)
def get(self):
return self.history