TIQ-Test-Backend / session.py
Shakeel401's picture
Upload 12 files
6981c56 verified
Raw
History Blame Contribute Delete
202 Bytes
from agents import SQLiteSession
import os
def get_session(thread_id: str):
db_path = os.path.join(os.path.dirname(__file__), "conversations.db")
return SQLiteSession(thread_id, db_path)