Skip to content

Commit dccab1f

Browse files
committed
feat: add default inner reader ip
1 parent f8551ea commit dccab1f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

examples/mem_reader/multimodal_struct_reader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ def get_reader_config() -> dict[str, Any]:
759759

760760
# Get direct markdown hostnames from environment variable
761761
direct_markdown_hostnames = None
762-
env_hostnames = os.getenv("FILE_PARSER_DIRECT_MARKDOWN_HOSTNAMES", "")
762+
env_hostnames = os.getenv("FILE_PARSER_DIRECT_MARKDOWN_HOSTNAMES", "139.196.232.20")
763763
if env_hostnames:
764764
direct_markdown_hostnames = [h.strip() for h in env_hostnames.split(",") if h.strip()]
765765

src/memos/api/config.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,9 @@ def get_product_default_config() -> dict[str, Any]:
709709
"chat_chunker": reader_config,
710710
"direct_markdown_hostnames": [
711711
h.strip()
712-
for h in os.getenv("FILE_PARSER_DIRECT_MARKDOWN_HOSTNAMES", "").split(",")
712+
for h in os.getenv(
713+
"FILE_PARSER_DIRECT_MARKDOWN_HOSTNAMES", "139.196.232.20"
714+
).split(",")
713715
if h.strip()
714716
],
715717
},

0 commit comments

Comments
 (0)