Merge pull request #18765 from mkhludnev/patch-2

fix: Don't missguide Tika with mime-type
This commit is contained in:
Tim Baek 2025-10-31 14:18:43 -07:00 • committed by GitHub
commit c787070dc9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -272,7 +272,6 @@ class Loader:
loader = TikaLoader(
url=self.kwargs.get("TIKA_SERVER_URL"),
file_path=file_path,
mime_type=file_content_type,
extract_images=self.kwargs.get("PDF_EXTRACT_IMAGES"),
)
elif (