| 1234567891011121314151617181920212223242526272829 |
- from core_shared import ServiceSettings
- class ApiGatewaySettings(ServiceSettings):
- service_name: str = "api-gateway"
- service_port: int = 8000
- database_url: str = "sqlite:///./api_gateway.db"
- workflow_service_url: str = "http://127.0.0.1:8002"
- session_service_url: str = "http://127.0.0.1:8001"
- runtime_service_url: str = "http://127.0.0.1:8003"
- 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"
- agent_service_url: str = "http://127.0.0.1:8007"
- memory_service_url: str = "http://127.0.0.1:8008"
- team_service_url: str = "http://127.0.0.1:8009"
- skill_service_url: str = "http://127.0.0.1:8010"
- human_service_url: str = "http://127.0.0.1:8011"
- knowledge_service_url: str = "http://127.0.0.1:8012"
- event_service_url: str = "http://127.0.0.1:8013"
- auth_service_url: str = "http://127.0.0.1:8014"
- scheduler_service_url: str = "http://127.0.0.1:8015"
- proxy_timeout_seconds: float = 30.0
- downstream_health_timeout_seconds: float = 2.0
- auth_required: bool = False
- authz_required: bool = False
- api_key_header_name: str = "x-api-key"
- user_id_header_name: str = "x-user-id"
- authz_timeout_seconds: float = 2.0
|