From 34227ce738e9c6dab069a779028a98f583e67dc6 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 4 Feb 2025 11:33:43 -0800 Subject: [PATCH] fix: Remove unused imports from sendchat.py and add hashlib import in models.py --- aider/models.py | 1 + aider/sendchat.py | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/aider/models.py b/aider/models.py index 2e0249628..766a64a04 100644 --- a/aider/models.py +++ b/aider/models.py @@ -6,6 +6,7 @@ import os import platform import sys import time +import hashlib from dataclasses import dataclass, fields from pathlib import Path from typing import Optional diff --git a/aider/sendchat.py b/aider/sendchat.py index 23e8612a1..c10c25d2b 100644 --- a/aider/sendchat.py +++ b/aider/sendchat.py @@ -1,11 +1,5 @@ -import hashlib -import json -import os -import time from aider.dump import dump # noqa: F401 -from aider.exceptions import LiteLLMExceptions -from aider.llm import litellm from aider.utils import format_messages # from diskcache import Cache