refactor: Remove deprecated reasoning_content attribute in test mock

This commit is contained in:
Paul Gauthier 2025-03-09 08:46:45 -07:00 committed by Paul Gauthier (aider)
parent 313b91edbe
commit 87cd2b5dfe

View file

@ -424,6 +424,7 @@ End"""
self.choices[0].message.reasoning = (
reasoning # Using reasoning instead of reasoning_content
)
delattr(self.choices[0].message, "reasoning_content")
self.finish_reason = "stop"
mock_completion = MockCompletion(main_content, reasoning_content)