settings.py 784 B

12345678910111213141516171819
  1. from core_shared import ServiceSettings
  2. class AgentServiceSettings(ServiceSettings):
  3. service_name: str = "agent-service"
  4. service_port: int = 8007
  5. database_url: str = "sqlite:///./agent_service.db"
  6. model_gateway_service_url: str = "http://127.0.0.1:8005"
  7. model_gateway_timeout_seconds: float = 60.0
  8. memory_service_url: str = "http://127.0.0.1:8008"
  9. memory_service_timeout_seconds: float = 10.0
  10. tool_service_url: str = "http://127.0.0.1:8004"
  11. tool_service_timeout_seconds: float = 10.0
  12. skill_service_url: str = "http://127.0.0.1:8010"
  13. skill_service_timeout_seconds: float = 10.0
  14. worker_poll_interval_seconds: float = 1.0
  15. worker_lease_seconds: int = 300
  16. worker_max_idle_cycles: int | None = None
  17. worker_dry_run: bool = False