From e68191dcd972f6170cb76690603574ae58f8407a Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 28 Jan 2025 13:31:49 -0800 Subject: [PATCH] fix: Move importlib.resources import to top of file --- aider/models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aider/models.py b/aider/models.py index 86daca366..99c994307 100644 --- a/aider/models.py +++ b/aider/models.py @@ -1,4 +1,5 @@ import difflib +import importlib.resources import json import math import os @@ -103,8 +104,6 @@ class ModelSettings: remove_reasoning: Optional[str] = None -import importlib.resources - # Load model settings from package resource MODEL_SETTINGS = [] with importlib.resources.open_text("aider.resources", "model-settings.yml") as f: