diff --git a/aider/models.py b/aider/models.py index 7d587527f..227204fa7 100644 --- a/aider/models.py +++ b/aider/models.py @@ -601,8 +601,8 @@ class Model(ModelSettings): # dump(kwargs) hash_object = hashlib.sha1(key) - if 'timeout' not in kwargs: - kwargs['timeout'] = request_timeout + if "timeout" not in kwargs: + kwargs["timeout"] = request_timeout res = litellm.completion(**kwargs) return hash_object, res