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

Function drive

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

Source from the content-addressed store, hash-verified

549 seen: list[DispatchedToolCall] = []
550
551 async def drive() -> None:
552 async for call in _run_with_fakes(events=events, tools=[], max_idle=0.1):
553 seen.append(call)
554
555 # If the unowned tool wrongly armed the idle clock the runner would stop
556 # ~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