refactor: remove redundant script_dir redefinition in fetch_groq_models

This commit is contained in:
Jun Siang Cheah (aider) committed 2024-09-01 23:24:03 +01:00
1 parent 3ba3e5baa7
commit 33a911dc0c
1 file changed
-1
-1
View File
@@ -175,7 +175,6 @@ def fetch_groq_models():
},
)
r.raise_for_status()
script_dir = os.path.dirname(os.path.abspath(__file__))
models = r.json()["data"]
pprint(models)
ret_models = []