agentscope.rpc.rpc_config module

Configs for Distributed mode.

class DistConf(host: str = 'localhost', port: int | None = None, max_pool_size: int = 8192, max_expire_time: int = 7200, max_timeout_seconds: int = 5, local_mode: bool = True, lazy_launch: bool = False)[source]

Bases: dict

Distribution configuration for agents.