diff --git a/aider/models.py b/aider/models.py index de6e89ecd..4aa92e2be 100644 --- a/aider/models.py +++ b/aider/models.py @@ -552,6 +552,7 @@ class Model(ModelSettings): # dump(kwargs) hash_object = hashlib.sha1(key) from aider.sendchat import litellm + res = litellm.completion(**kwargs) return hash_object, res diff --git a/aider/sendchat.py b/aider/sendchat.py index 1710a4e92..f11f4186e 100644 --- a/aider/sendchat.py +++ b/aider/sendchat.py @@ -1,7 +1,6 @@ from aider.dump import dump # noqa: F401 from aider.utils import format_messages - RETRY_TIMEOUT = 60