settings.py 929 B

1234567891011121314151617181920212223
  1. from core_shared import ServiceSettings
  2. class AgentServiceSettings(ServiceSettings):
  3. service_name: str = "agent-service"
  4. service_port: int = 8007
  5. model_gateway_service_url: str = "http://127.0.0.1:8005"
  6. model_gateway_timeout_seconds: float = 60.0
  7. memory_service_url: str = "http://127.0.0.1:8008"
  8. memory_service_timeout_seconds: float = 10.0
  9. tool_service_url: str = "http://127.0.0.1:8004"
  10. tool_service_timeout_seconds: float = 10.0
  11. skill_service_url: str = "http://127.0.0.1:8010"
  12. skill_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
  18. worker_dry_run: bool = False
  19. react_max_steps: int = 5
  20. react_max_tool_calls: int = 10
  21. react_tool_retry_count: int = 1