MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / drive

Function drive

tests/lib/tools/test_session_runner.py:532–534  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

530 seen: list[DispatchedToolCall] = []
531
532 async def drive() -> None:
533 async for call in _run_with_fakes(events=events, tools=[], max_idle=0.1):
534 seen.append(call)
535
536 # If the unowned tool wrongly armed the idle clock the runner would stop
537 # ~0.1s in and ``drive()`` would return; a correct runner blocks until the

Calls 1

_run_with_fakesFunction · 0.85

Tested by

no test coverage detected