MultiModalStruct MemReader configuration class.
| 64 | |
| 65 | |
| 66 | class 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 | |
| 92 | class StrategyStructMemReaderConfig(BaseMemReaderConfig): |
no test coverage detected