| 12345678910111213141516171819202122 |
- from core_shared import ServiceSettings
- class AgentServiceSettings(ServiceSettings):
- service_name: str = "agent-service"
- service_port: int = 8007
- database_url: str = "sqlite:///./agent_service.db"
- model_gateway_service_url: str = "http://127.0.0.1:8005"
- model_gateway_timeout_seconds: float = 60.0
- memory_service_url: str = "http://127.0.0.1:8008"
- memory_service_timeout_seconds: float = 10.0
- tool_service_url: str = "http://127.0.0.1:8004"
- tool_service_timeout_seconds: float = 10.0
- skill_service_url: str = "http://127.0.0.1:8010"
- skill_service_timeout_seconds: float = 10.0
- event_service_url: str = "http://127.0.0.1:8013"
- event_service_timeout_seconds: float = 5.0
- worker_poll_interval_seconds: float = 1.0
- worker_lease_seconds: int = 300
- worker_max_idle_cycles: int | None = None
- worker_dry_run: bool = False
- react_max_steps: int = 5
|