Test reasoning content accumulation.
(self)
| 194 | assert state.detected_type == ContentType.CODE |
| 195 | |
| 196 | def test_reasoning_content(self): |
| 197 | """Test reasoning content accumulation.""" |
| 198 | state = StreamingState() |
| 199 | |
| 200 | chunk = StreamingChunk(content="Answer", reasoning_content="Let me think...") |
| 201 | state.add_chunk(chunk) |
| 202 | |
| 203 | assert state.reasoning_content == "Let me think..." |
| 204 | |
| 205 | def test_finish_reason(self): |
| 206 | """Test finish reason capture.""" |
nothing calls this directly
no test coverage detected