MCPcopy Create free account
hub / github.com/IBM/mcp-cli / stream_gen

Method stream_gen

tests/chat/test_tool_processor_extended.py:1326–1328  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

1324
1325 # Make it async iterable that raises
1326 async def stream_gen(*args, **kwargs):
1327 raise asyncio.CancelledError()
1328 yield # unreachable, but needed for async generator syntax
1329
1330 tm.stream_execute_tools = stream_gen
1331

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected