From b7a9925cea62d13ca412097a38ec63ed7b249dd7 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sun, 25 Aug 2024 08:22:20 -0700 Subject: [PATCH] fix: Remove unused import 'requests' from 'aider/models.py' --- aider/models.py | 1 - aider/utils.py | 3 --- 2 files changed, 4 deletions(-) diff --git a/aider/models.py b/aider/models.py index 22bf4d6c2..d8ead7452 100644 --- a/aider/models.py +++ b/aider/models.py @@ -10,7 +10,6 @@ from dataclasses import dataclass, fields from pathlib import Path from typing import Optional -import requests import yaml from PIL import Image diff --git a/aider/utils.py b/aider/utils.py index 072fd500d..43aaaa842 100644 --- a/aider/utils.py +++ b/aider/utils.py @@ -81,9 +81,6 @@ def make_repo(path=None): return repo -import json - - def is_image_file(file_name): """ Check if the given file name has an image file extension.