feat: Add prompt cache warming via --cache-warming-pings

This commit is contained in:
Paul Gauthier 2024-08-26 16:33:25 -07:00 committed by Paul Gauthier (aider)
parent 4e718fa8e1
commit a5c283d7c8
9 changed files with 10 additions and 8 deletions

View file

@ -524,7 +524,7 @@ class TestMain(TestCase):
MockRepoMap.return_value = mock_repo_map
main(
["--sonnet", "--cache", "--exit", "--yes"],
["--sonnet", "--cache-prompts", "--exit", "--yes"],
input=DummyInput(),
output=DummyOutput(),
)
@ -549,7 +549,7 @@ class TestMain(TestCase):
def test_4o_and_cache_options(self):
with GitTemporaryDirectory():
coder = main(
["--4o", "--cache", "--exit", "--yes"],
["--4o", "--cache-prompts", "--exit", "--yes"],
input=DummyInput(),
output=DummyOutput(),
return_coder=True,