MCPcopy Create free account
hub / github.com/MemTensor/MemOS / MultiModalStructMemReaderConfig

Class MultiModalStructMemReaderConfig

src/memos/configs/mem_reader.py:66–89  ·  view source on GitHub ↗

MultiModalStruct MemReader configuration class.

Source from the content-addressed store, hash-verified

64
65
66class MultiModalStructMemReaderConfig(BaseMemReaderConfig):
67 """MultiModalStruct MemReader configuration class."""
68
69 direct_markdown_hostnames: list[str] | None = Field(
70 default=None,
71 description="List of hostnames that should return markdown directly without parsing. "
72 "If None, reads from FILE_PARSER_DIRECT_MARKDOWN_HOSTNAMES environment variable.",
73 )
74
75 oss_config: dict[str, Any] | None = Field(
76 default=None,
77 description="OSS configuration for the MemReader",
78 )
79 skills_dir_config: dict[str, Any] | None = Field(
80 default=None,
81 description="Skills directory for the MemReader",
82 )
83 memory_version_switch: Literal["on", "off"] = Field(
84 default="off",
85 description="Turn on memory version or off",
86 )
87
88 # Allow passing additional fields without raising validation errors
89 model_config = ConfigDict(extra="allow", strict=True)
90
91
92class StrategyStructMemReaderConfig(BaseMemReaderConfig):

Callers 1

build_multimodal_readerFunction · 0.90

Calls 1

FieldFunction · 0.85

Tested by

no test coverage detected