MCPcopy Create free account
hub / github.com/THUDM/AutoWebGLM / dump_config

Function dump_config

webarena/run.py:446–451  ·  view source on GitHub ↗
(args: argparse.Namespace)

Source from the content-addressed store, hash-verified

444 return unfinished_configs
445
446def dump_config(args: argparse.Namespace) -> None:
447 config_file = Path(args.result_dir) / "config.json"
448 if not config_file.exists():
449 with open(config_file, "w") as f:
450 json.dump(vars(args), f, indent=4)
451 logger.info(f"Dump config to {config_file}")
452
453
454if __name__ == "__main__":

Callers 1

run.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected