GitPulse-Intelligence / tests /test_groq.py
DIVYANSHI SINGH
🧹 Cleanup: Reorganize repository - Move tests and scripts to dedicated folders
4739bd2
raw
history blame contribute delete
232 Bytes
import os
from dotenv import load_dotenv
import groq
load_dotenv()
client = groq.Groq(api_key=os.getenv("GROQ_API_KEY"))
try:
for model in client.models.list().data:
print(model.id)
except Exception as e:
print(e)