From 18a8574d53187396c075239dd316ce7637da9cf8 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 14 Sep 2026 18:49:12 +0000 Subject: [PATCH] fix: drop unsupported .csv from self-hosted env examples The worker format router has no CSV adapter, and storage.py's SUPPORTED_EXTENSIONS default does not include .csv. The example files advertised it, so Quick Start copies would admit CSV at the API then fail in the worker. Co-authored-by: Frankie-Xu --- apps/api/.env.example | 2 +- apps/worker/.env.example | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/api/.env.example b/apps/api/.env.example index 56743634..c9ad5fa6 100644 --- a/apps/api/.env.example +++ b/apps/api/.env.example @@ -109,7 +109,7 @@ ARK_API_KEY= # RETRIEVAL_POSTGRES_FTS_CANDIDATE_LIMIT=2000 # File handling defaults -SUPPORTED_EXTENSIONS=.doc,.docx,.pdf,.txt,.xls,.xlsx,.csv,.pptx,.jpg,.jpeg,.png,.md,.html,.htm +SUPPORTED_EXTENSIONS=.doc,.docx,.pdf,.txt,.xls,.xlsx,.pptx,.jpg,.jpeg,.png,.md,.html,.htm MAX_FILE_SIZE=314572800 MAX_PDF_PAGE_LIMIT=200 OVERSIZED_PDF_SHARD_ENABLED=true diff --git a/apps/worker/.env.example b/apps/worker/.env.example index 3b73cf4f..9b9f309e 100644 --- a/apps/worker/.env.example +++ b/apps/worker/.env.example @@ -124,7 +124,7 @@ ILOVEAPI_SECRET_KEY= # ILOVEAPI_TIMEOUT=120 # File handling defaults -SUPPORTED_EXTENSIONS=.doc,.docx,.pdf,.txt,.xls,.xlsx,.csv,.pptx,.jpg,.jpeg,.png,.md,.html,.htm +SUPPORTED_EXTENSIONS=.doc,.docx,.pdf,.txt,.xls,.xlsx,.pptx,.jpg,.jpeg,.png,.md,.html,.htm MAX_FILE_SIZE=314572800 MAX_PDF_PAGE_LIMIT=200 OVERSIZED_PDF_SHARD_ENABLED=true