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

Method subtree_constructor

webarena/browser_env/html_tools/prompt.py:23–24  ·  view source on GitHub ↗
(self, subtree: list[str]=[])

Source from the content-addressed store, hash-verified

21 return data if data is not None else default
22
23 def subtree_constructor(self, subtree: list[str]=[]) -> str:
24 return self.prompt['subtree_splitter'].join(subtree)
25
26 def normal_prompt_constructor(self, tag: str='', label: str='', content: str='', subtree_str: str='', class_dict: dict[str]={}) -> str:
27 def add_prefix(data, prefix):

Callers 1

_dfsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected