mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
![]() The new test case `test_get_commit_message_with_custom_prompt` ensures that when a custom `commit_prompt` is provided to the `GitRepo` constructor, it's used instead of the default prompt when generating commit messages. The test checks that: 1. The custom commit prompt is passed correctly to the `simple_send_with_retries` function. 2. The returned commit message is as expected. 3. The `simple_send_with_retries` function is called only once (since we're using a single model). This new test case, along with the existing `test_get_commit_message_no_strip_unmatched_quotes` test, provides better coverage for the `get_commit_message` method in the `GitRepo` class. |
||
---|---|---|
.. | ||
basic | ||
browser | ||
help | ||
scrape | ||
__init__.py |