Default values match expected constants.
(self)
| 444 | assert state.finish_reason is None |
| 445 | |
| 446 | def test_default_caps(self): |
| 447 | """Default values match expected constants.""" |
| 448 | state = StreamingState() |
| 449 | assert state.max_accumulated_chars == 1_048_576 |
| 450 | assert state.max_chunks == 50_000 |
| 451 | assert not state.content_capped |
| 452 | |
| 453 | def test_chunks_still_counted_when_capped(self): |
| 454 | """chunks_received keeps incrementing even after cap.""" |
nothing calls this directly
no test coverage detected