This commit is contained in:
Timothy Jaeryang Baek committed 2026-06-29 03:13:17 -05:00
1 parent 462b66b807
commit 390e200f76
2 files changed
+69 -11

No files matched your search

+1
View File
@@ -932,6 +932,7 @@ else:
ENABLE_CHAT_RESPONSE_BASE64_IMAGE_URL_CONVERSION = (
os.getenv('ENABLE_CHAT_RESPONSE_BASE64_IMAGE_URL_CONVERSION', 'False').lower() == 'true'
)
ENABLE_API_OUTLET_FILTERS = os.getenv('ENABLE_API_OUTLET_FILTERS', 'True').lower() == 'true'
# When enabled, uses a hardcoded extension-to-MIME dictionary as a last-resort
# fallback when both mimetypes.guess_type() and file.meta.content_type fail to