Test streaming text.
(self)
| 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) |
| 73 | |
| 74 | for chunk in stream: |
| 75 | self.assertIsInstance(chunk, str, "streams output") |
| 76 | |
| 77 | def test_streams_text_with_params(self): |
| 78 | """Test streaming text with parameters.""" |