Compare commits

...

7 Commits

Author SHA1 Message Date
Adrian Lyjak b8f95c6a3d Update pyproject.toml
back out of version bump
2026-01-14 13:00:02 -05:00
Adrian Lyjak 878605b347 Update package.json
back out of version bump
2026-01-14 12:59:43 -05:00
Adrian Lyjak 22130a35d7 Update pyproject.toml
back out of version bump
2026-01-14 12:59:27 -05:00
Adrian Lyjak ed4b55305c Update package.json
back out of version bump
2026-01-14 12:59:00 -05:00
Adrian Lyjak 4b9d48f5e6 Update ninety-goats-look.md
Make it a patch version
2026-01-14 12:58:38 -05:00
Pierre-Loic doulcet ae6d6c276f changeset 2026-01-14 18:57:30 +01:00
Pierre-Loic doulcet 25f9efd5bc remove extension filter 2026-01-14 18:41:23 +01:00
2 changed files with 9 additions and 5 deletions
+6
View File
@@ -0,0 +1,6 @@
---
"llama_parse": patch
"llama-cloud-services-py": patch
---
Remove extension filter
+3 -5
View File
@@ -751,11 +751,9 @@ class LlamaParse(BasePydanticReader):
file_path = str(file_input)
file_ext = os.path.splitext(file_path)[1].lower()
if file_ext not in SUPPORTED_FILE_TYPES:
raise Exception(
f"Currently, only the following file types are supported: {SUPPORTED_FILE_TYPES}\n"
f"Current file type: {file_ext}"
)
mime_type = mimetypes.guess_type(file_path)[0]
mime_type = "application/octet-stream"
else:
mime_type = mimetypes.guess_type(file_path)[0]
# Open the file here for the duration of the async context
# load data, set the mime type
fs = fs or get_default_fs()