Fix typo
This commit is contained in:
parent
a26c19a80a
commit
52931caf3c
|
@ -26,8 +26,8 @@ def verify_admin_token(authorization: Optional[str] = Header(None)):
|
||||||
@router.post("/ingest")
|
@router.post("/ingest")
|
||||||
async def trigger_ingest(recreate: bool = False, _: bool = Depends(verify_admin_token)):
|
async def trigger_ingest(recreate: bool = False, _: bool = Depends(verify_admin_token)):
|
||||||
try:
|
try:
|
||||||
data_dir = "articles_konsol_pro"
|
data_dir = "/app/data"
|
||||||
platform_file = "data/platform_overview.md"
|
platform_file = "/app/data/platform_overview.md"
|
||||||
persist_dir = settings.chroma_persist_dir
|
persist_dir = settings.chroma_persist_dir
|
||||||
|
|
||||||
if not os.path.exists(data_dir):
|
if not os.path.exists(data_dir):
|
||||||
|
|
Loading…
Reference in New Issue