MCPcopy Create free account
hub / github.com/OpenBMB/ToolBench / prompt_for_input

Method prompt_for_input

toolbench/inference/utils.py:241–242  ·  view source on GitHub ↗
(self, role)

Source from the content-addressed store, hash-verified

239
240class SimpleChatIO(ChatIO):
241 def prompt_for_input(self, role) -> str:
242 return input(f"{role}: ")
243
244 def prompt_for_output(self, role: str):
245 print(f"{role}: ", end="", flush=True)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected