MCPcopy Create free account
hub / github.com/THUDM/AgentTuning / __init__

Method __init__

eval_heldout/rewoo/nodes/Worker.py:22–26  ·  view source on GitHub ↗
(self, name="Google")

Source from the content-addressed store, hash-verified

20
21class GoogleWorker(Node):
22 def __init__(self, name="Google"):
23 super().__init__(name, input_type=str, output_type=str)
24 self.isLLMBased = False
25 self.description = "Worker that searches results from Google. Useful when you need to find short " \
26 "and succinct answers about a specific topic. Input should be a search query."
27
28 def run(self, input, log=False):
29 assert isinstance(input, self.input_type)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected