settings.py 868 B

1234567891011121314151617181920
  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. proxy_timeout_seconds: float = 30.0
  16. downstream_health_timeout_seconds: float = 2.0
  17. auth_required: bool = False
  18. api_key_header_name: str = "x-api-key"