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

Method prompt_constructor

webarena/browser_env/html_tools/prompt.py:96–97  ·  view source on GitHub ↗
(self, tag: str='', label: str='', content: str='', subtree_str: str='', class_dict: dict[str]={})

Source from the content-addressed store, hash-verified

94 return self.prompt['dom'].format(tag=tag, label=label_str, attr=classes_str, content=content_str, subtree=subtree_str)
95
96 def prompt_constructor(self, tag: str='', label: str='', content: str='', subtree_str: str='', class_dict: dict[str]={}) -> str:
97 return self.constructor(tag, label, content, subtree_str, class_dict)

Callers 1

_dfsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected