(self, mock_litellm)
| 27 | |
| 28 | @patch("harness.llms.client.litellm") |
| 29 | def test_non_opus_no_reasoning(self, mock_litellm): |
| 30 | mock_litellm.completion.return_value = MagicMock() |
| 31 | client = self._make_client() |
| 32 | |
| 33 | client.completion( |
| 34 | model="claude-sonnet-4-6", messages=[{"role": "user", "content": "hi"}] |
| 35 | ) |
| 36 | |
| 37 | kwargs = mock_litellm.completion.call_args[1] |
| 38 | assert "reasoning_effort" not in kwargs |
| 39 | |
| 40 | @patch("harness.llms.client.litellm") |
| 41 | def test_explicit_reasoning_effort_passed_through(self, mock_litellm): |
nothing calls this directly
no test coverage detected