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

Method __init__

eval_heldout/rewoo/nodes/Worker.py:185–189  ·  view source on GitHub ↗
(self, name="ZipCodeRetriever")

Source from the content-addressed store, hash-verified

183class ZipCodeRetriever(Node):
184
185 def __init__(self, name="ZipCodeRetriever"):
186 super().__init__(name, input_type=str, output_type=str)
187 self.isLLMBased = False
188 self.description = "A zip code retriever. Useful when you need to get users' current zip code. Input can be " \
189 "left blank."
190
191 def get_ip_address(self):
192 response = requests.get("https://ipinfo.io/json")

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected