mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-27 20:38:32 +02:00
(minor) search memoization + context (#2732)
* add markdown blocks to search * nit * k
This commit is contained in:
@@ -346,6 +346,7 @@ def get_session() -> Generator[Session, None, None]:
|
||||
raise HTTPException(status_code=401, detail="User must authenticate")
|
||||
|
||||
engine = get_sqlalchemy_engine()
|
||||
|
||||
with Session(engine, expire_on_commit=False) as session:
|
||||
if MULTI_TENANT:
|
||||
if not is_valid_schema_name(tenant_id):
|
||||
|
Reference in New Issue
Block a user