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

Method prompt_for_output

toolbench/inference/utils.py:244–245  ·  view source on GitHub ↗
(self, role: str)

Source from the content-addressed store, hash-verified

242 return input(f"{role}: ")
243
244 def prompt_for_output(self, role: str):
245 print(f"{role}: ", end="", flush=True)
246
247 def stream_output(self, output_stream):
248 pre = 0

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected