Skip to content

Commit

Permalink
update launcher
Browse files Browse the repository at this point in the history
  • Loading branch information
pan-x-c committed Jan 25, 2024
1 parent 4716b20 commit 644ecce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/agentscope/agents/rpc_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,10 @@ def launch(self) -> None:
self.port = self.parent_con.recv()
start_event.wait()
self.server = server_process
logger.info(
f"Launch [{self.agent_class.__name__}] server at "
f"[{self.host}:{self.port}] success",
)

def wait_until_terminate(self) -> None:
"""Wait for server process"""
Expand Down

0 comments on commit 644ecce

Please sign in to comment.