mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
style: fix linting issues in test_reasoning.py
This commit is contained in:
parent
41ae947885
commit
eadb8d5d0a
1 changed files with 3 additions and 1 deletions
|
@ -420,7 +420,9 @@ End"""
|
||||||
# Add required attributes expected by show_send_output
|
# Add required attributes expected by show_send_output
|
||||||
self.choices = [MagicMock()]
|
self.choices = [MagicMock()]
|
||||||
self.choices[0].message.content = content
|
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"
|
self.finish_reason = "stop"
|
||||||
|
|
||||||
mock_completion = MockCompletion(main_content, reasoning_content)
|
mock_completion = MockCompletion(main_content, reasoning_content)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue