MCPcopy
hub / github.com/OpenBMB/ToolBench / step

Method step

toolbench/inference/Downstream_tasks/rapidapi.py:280–284  ·  view source on GitHub ↗
(self,**args)

Source from the content-addressed store, hash-verified

278 return 0.0
279
280 def step(self,**args):
281 obs, code = self._step(**args)
282 if len(obs) > self.max_observation_length:
283 obs = obs[:self.max_observation_length] + "..."
284 return obs, code
285
286 def _step(self, action_name="", action_input=""):
287 """Need to return an observation string and status code:

Callers

nothing calls this directly

Calls 1

_stepMethod · 0.95

Tested by

no test coverage detected