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

Method extract

webarena/browser_env/html_tools/prompt.py:20–21  ·  view source on GitHub ↗
(data, default='')

Source from the content-addressed store, hash-verified

18
19 @staticmethod
20 def extract(data, default=''):
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)

Callers 3

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected