mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +00:00
style: Format test_models.py with linter
This commit is contained in:
parent
856006a68d
commit
51938affc2
1 changed files with 3 additions and 5 deletions
|
@ -304,13 +304,11 @@ End"""
|
||||||
|
|
||||||
# Mock the completion response
|
# Mock the completion response
|
||||||
mock_response = MagicMock()
|
mock_response = MagicMock()
|
||||||
mock_response.choices = [
|
mock_response.choices = [MagicMock(message=MagicMock(content="""Here is some text
|
||||||
MagicMock(message=MagicMock(content="""Here is some text
|
|
||||||
<think>
|
<think>
|
||||||
This reasoning should be removed
|
This reasoning should be removed
|
||||||
</think>
|
</think>
|
||||||
And this text should remain"""))
|
And this text should remain"""))]
|
||||||
]
|
|
||||||
mock_completion.return_value = mock_response
|
mock_completion.return_value = mock_response
|
||||||
|
|
||||||
messages = [{"role": "user", "content": "test"}]
|
messages = [{"role": "user", "content": "test"}]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue