settings.py 826 B

12345678910111213141516171819
  1. from core_shared import ServiceSettings
  2. class RuntimeServiceSettings(ServiceSettings):
  3. service_name: str = "runtime-service"
  4. service_port: int = 8003
  5. workflow_service_url: str = "http://127.0.0.1:8002"
  6. tool_service_url: str = "http://127.0.0.1:8004"
  7. model_gateway_service_url: str = "http://127.0.0.1:8005"
  8. code_runner_service_url: str = "http://127.0.0.1:8006"
  9. human_service_url: str = "http://127.0.0.1:8011"
  10. human_service_timeout_seconds: float = 10.0
  11. knowledge_service_url: str = "http://127.0.0.1:8012"
  12. knowledge_service_timeout_seconds: float = 10.0
  13. event_service_url: str = "http://127.0.0.1:8013"
  14. event_service_timeout_seconds: float = 5.0
  15. worker_poll_interval_seconds: float = 1.0
  16. worker_lease_seconds: int = 300
  17. worker_max_idle_cycles: int | None = None