Skip to content

Commit

Permalink
clean example
Browse files Browse the repository at this point in the history
  • Loading branch information
pan-x-c committed Mar 14, 2024
1 parent 710d1e0 commit 61013b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/distributed/distributed_debate.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def parse_args() -> argparse.Namespace:
def setup_server(parsed_args: argparse.Namespace) -> None:
"""Setup rpc server for participant agent"""
agentscope.init(
model_configs="configs/model_configs_pxc.json",
model_configs="configs/model_configs.json",
)
host = getattr(parsed_args, f"{parsed_args.role}_host")
port = getattr(parsed_args, f"{parsed_args.role}_port")
Expand Down Expand Up @@ -107,7 +107,7 @@ def setup_server(parsed_args: argparse.Namespace) -> None:
def run_main_process(parsed_args: argparse.Namespace) -> None:
"""Setup the main debate competition process"""
pro_agent, con_agent, judge_agent = agentscope.init(
model_configs="configs/model_configs_pxc.json",
model_configs="configs/model_configs.json",
agent_configs="configs/debate_agent_configs.json",
)
pro_agent = pro_agent.to_dist(
Expand Down

0 comments on commit 61013b8

Please sign in to comment.