MCPcopy
hub / github.com/IBM/AssetOpsBench / _run

Function _run

src/agent/stirrup_agent/cli.py:89–102  ·  view source on GitHub ↗
(args: argparse.Namespace)

Source from the content-addressed store, hash-verified

87
88
89async def _run(args: argparse.Namespace) -> None:
90 from agent.stirrup_agent.runner import StirrupAgentRunner
91
92 runner = StirrupAgentRunner(
93 model=args.model_id,
94 code_enabled=args.code_enabled,
95 code_backend=args.code_backend,
96 max_turns=args.max_turns,
97 max_tokens=args.max_tokens,
98 )
99 result = await runner.run(args.question)
100 print_result(
101 result, show_trajectory=args.show_trajectory, output_json=args.output_json
102 )
103
104
105def main() -> None:

Callers

nothing calls this directly

Calls 3

runMethod · 0.95
StirrupAgentRunnerClass · 0.90
print_resultFunction · 0.85

Tested by

no test coverage detected