mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
fix: Move importlib.resources import to top of file
This commit is contained in:
parent
0019a1f7dc
commit
e68191dcd9
1 changed files with 1 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue