Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

Merge remote-tracking branch 'github_public/main'

wizardchen48a0f9b508ee
diff --cc docreader/parser/base_parser.py
index 4a7fb19a1,781830dab..f93778d68
--- a/docreader/parser/base_parser.py
+++ b/docreader/parser/base_parser.py
@@@ -55,7 -55,7 +55,6 @@@ class BaseParser(ABC)
if not hostname:
logger.warning("No hostname found in URL")
return False
-
-
# Try to parse as IP address
try:
ip = ipaddress.ip_address(hostname)
@@@ -741,7 -743,7 +742,6 @@@
if not self._is_safe_url(img_url):
logger.error(f"URL failed validation check: {img_url}")
return img_url, img_url, None
-
-
# Still need to get image object for OCR processing
# Get proxy settings from environment variables
http_proxy = os.environ.get("EXTERNAL_HTTP_PROXY")
@@@ -792,7 -794,7 +792,6 @@@
if not self._is_safe_url(img_url):
logger.error(f"URL failed validation check: {img_url}")
return img_url, img_url, None
-
-
# Get proxy settings from environment variables
http_proxy = os.environ.get("EXTERNAL_HTTP_PROXY")
https_proxy = os.environ.get("EXTERNAL_HTTPS_PROXY")