style: fix linting issues in test_reasoning.py

This commit is contained in:
Paul Gauthier (aider) 2025-03-09 08:43:23 -07:00
parent 41ae947885
commit eadb8d5d0a

View file

@ -420,7 +420,9 @@ End"""
# Add required attributes expected by show_send_output
self.choices = [MagicMock()]
self.choices[0].message.content = content
self.choices[0].message.reasoning = reasoning # Using reasoning instead of reasoning_content
self.choices[0].message.reasoning = (
reasoning # Using reasoning instead of reasoning_content
)
self.finish_reason = "stop"
mock_completion = MockCompletion(main_content, reasoning_content)