| 1234567891011121314151617181920 |
- from core_shared import ServiceSettings
- class RuntimeServiceSettings(ServiceSettings):
- service_name: str = "runtime-service"
- service_port: int = 8003
- database_url: str = "sqlite:///./runtime_service.db"
- workflow_service_url: str = "http://127.0.0.1:8002"
- tool_service_url: str = "http://127.0.0.1:8004"
- model_gateway_service_url: str = "http://127.0.0.1:8005"
- code_runner_service_url: str = "http://127.0.0.1:8006"
- human_service_url: str = "http://127.0.0.1:8011"
- human_service_timeout_seconds: float = 10.0
- knowledge_service_url: str = "http://127.0.0.1:8012"
- knowledge_service_timeout_seconds: float = 10.0
- event_service_url: str = "http://127.0.0.1:8013"
- event_service_timeout_seconds: float = 5.0
- worker_poll_interval_seconds: float = 1.0
- worker_lease_seconds: int = 300
- worker_max_idle_cycles: int | None = None
|