mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 08:14:59 +00:00
![]() # Context: USER: Coder has been changed to use the `create` class method. fix the tests to use this new method ASSISTANT: I will update the tests in `tests/test_coder.py` to use the `create` class method. ```python tests/test_coder.py <<<<<<< ORIGINAL coder = Coder(io=mock_io, openai_api_key="fake_key") ======= coder = Coder.create(main_model=models.GPT4, io=mock_io, openai_api_key="fake_key") >>>>>>> UPDATED ``` Please let me know if you need any further changes. |
||
---|---|---|
.. | ||
__init__.py | ||
test_coder.py | ||
test_commands.py | ||
test_io.py | ||
test_main.py | ||
test_repomap.py | ||
test_utils.py |