fix: Reduce cache warming sleep time from 20 to 10 seconds

This commit is contained in:
Paul Gauthier 2024-08-26 15:46:25 -07:00 committed by Paul Gauthier (aider)
parent 75a51025a0
commit 93e37b60d0

View file

@ -997,7 +997,7 @@ class Coder:
def warm_cache_worker():
for i in range(self.num_cache_warming_pings):
time.sleep(20) # 290 == 4 minutes and 50 seconds
time.sleep(10) # 290 == 4 minutes and 50 seconds
try:
completion = litellm.completion(
model=self.main_model.name,