mirror of
https://github.com/tiennm99/cheahjs-free-llm-api-resources.git
synced 2026-10-14 04:15:49 +00:00
refactor: remove redundant script_dir redefinition in fetch_groq_models
This commit is contained in:
1 parent
3ba3e5baa7
commit
33a911dc0c
1 file changed
-1
@@ -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 = []
|
||||
|
||||
Reference in new issue
Block a user