MCPcopy Create free account
hub / github.com/Bytez-com/docs / test_stream_kwargs

Method test_stream_kwargs

sdk/python/test.py:64–69  ·  view source on GitHub ↗

Test streaming text.

(self)

Source from the content-addressed store, hash-verified

62 "returns output",
63 )
64 def test_stream_kwargs(self):
65 """Test streaming text."""
66 stream = model.run("Jack and jill", stream=True)
67
68 for chunk in stream:
69 self.assertIsInstance(chunk, str, "streams output")
70 def test_stream(self):
71 """Test streaming text."""
72 stream = model.run("Jack and jill", True)

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected