- from core_shared import ServiceSettings
- class MemoryServiceSettings(ServiceSettings):
- service_name: str = "memory-service"
- service_port: int = 8008
- default_search_limit: int = 8
- embedding_dimensions: int = 32
- embedding_model: str = "local-hash-v1"
- search_cache_ttl_seconds: int = 30
- async_touch_enabled: bool = True
- worker_poll_interval_seconds: float = 1.0
- worker_lease_seconds: int = 120
- worker_max_idle_cycles: int | None = None
- auto_worker_enabled: bool = True
- auto_worker_stop_timeout_seconds: float = 5.0
|