settings.py 1.1 KB

12345678910111213141516171819202122232425
  1. from core_shared import ServiceSettings
  2. class ApiGatewaySettings(ServiceSettings):
  3. service_name: str = "api-gateway"
  4. service_port: int = 8000
  5. database_url: str = "sqlite:///./api_gateway.db"
  6. workflow_service_url: str = "http://127.0.0.1:8002"
  7. session_service_url: str = "http://127.0.0.1:8001"
  8. runtime_service_url: str = "http://127.0.0.1:8003"
  9. tool_service_url: str = "http://127.0.0.1:8004"
  10. model_gateway_service_url: str = "http://127.0.0.1:8005"
  11. code_runner_service_url: str = "http://127.0.0.1:8006"
  12. agent_service_url: str = "http://127.0.0.1:8007"
  13. memory_service_url: str = "http://127.0.0.1:8008"
  14. team_service_url: str = "http://127.0.0.1:8009"
  15. skill_service_url: str = "http://127.0.0.1:8010"
  16. human_service_url: str = "http://127.0.0.1:8011"
  17. knowledge_service_url: str = "http://127.0.0.1:8012"
  18. event_service_url: str = "http://127.0.0.1:8013"
  19. auth_service_url: str = "http://127.0.0.1:8014"
  20. proxy_timeout_seconds: float = 30.0
  21. downstream_health_timeout_seconds: float = 2.0
  22. auth_required: bool = False
  23. api_key_header_name: str = "x-api-key"