mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 00:05:01 +00:00
refactor: Remove deprecated reasoning_content attribute in test mock
This commit is contained in:
parent
313b91edbe
commit
87cd2b5dfe
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue