- from core_shared import ServiceSettings
- class ToolServiceSettings(ServiceSettings):
- service_name: str = "tool-service"
- service_port: int = 8004
- mcp_discovery_async_enabled: bool = True
- mcp_discovery_timeout_seconds: float = 5.0
- worker_poll_interval_seconds: float = 1.0
- worker_lease_seconds: int = 120
- worker_stale_discovery_seconds: int = 300
- worker_max_idle_cycles: int | None = None
- auto_worker_enabled: bool = True
- auto_worker_stop_timeout_seconds: float = 5.0
|