image / agents /memory.py
Muthuraja18's picture
Update agents/memory.py
5712da7 verified
Raw
History Blame
345 Bytes
class Memory:
def __init__(self):
self.chat_history = []
self.uploaded_files = []
self.last_used_image = None
self.image_context = None # 🔥 NEW
def set_image_context(self, context):
self.image_context = context
def get_image_context(self):
return self.image_context