added chat history

This commit is contained in:
2026-09-08 09:18:25 +03:00
parent 82953f0fe9
commit 8397f09de4
11 changed files with 635 additions and 30 deletions
+3
View File
@@ -15,6 +15,9 @@ async def lifespan(_: FastAPI):
settings = get_settings()
Path(settings.data_dir).mkdir(parents=True, exist_ok=True)
Base.metadata.create_all(bind=engine)
from app.core.schema_migrate import ensure_schema
ensure_schema(engine)
yield