auto-sync: 2026-06-02 15:01:47
This commit is contained in:
@@ -181,6 +181,8 @@ class AgentSpawner:
|
||||
api_port: int = 8083,
|
||||
bootstrap_builder: Optional[Any] = None,
|
||||
gateway_timeout: float = 600.0,
|
||||
gateway_host: str = "127.0.0.1",
|
||||
gateway_port: int = 18789,
|
||||
max_retries: int = 3,
|
||||
max_monitor_timeouts: int = 3,
|
||||
counter: Optional[Any] = None,
|
||||
@@ -192,6 +194,8 @@ class AgentSpawner:
|
||||
dry_run: 测试模式,不实际 spawn
|
||||
api_host: API 地址(供 Agent 回写)
|
||||
api_port: API 端口(供 Agent 回写)
|
||||
gateway_host: Gateway 地址(供存活检查)
|
||||
gateway_port: Gateway 端口(供存活检查)
|
||||
"""
|
||||
self.db_path = db_path
|
||||
self.agent_timeout = agent_timeout
|
||||
@@ -200,6 +204,8 @@ class AgentSpawner:
|
||||
self.api_port = api_port
|
||||
self.bootstrap_builder = bootstrap_builder
|
||||
self.gateway_timeout = gateway_timeout
|
||||
self.gateway_host = gateway_host
|
||||
self.gateway_port = gateway_port
|
||||
self.max_retries = max_retries
|
||||
self.max_monitor_timeouts = max_monitor_timeouts
|
||||
# v2.7.2: counter 引用(spawn_full_agent 内部 acquire/release)
|
||||
|
||||
Reference in New Issue
Block a user