GitPulse-Intelligence / tests /test_genai.py
DIVYANSHI SINGH
🧹 Cleanup: Reorganize repository - Move tests and scripts to dedicated folders
4739bd2
raw
history blame contribute delete
286 Bytes
import os
from dotenv import load_dotenv
load_dotenv()
from google import genai
client = genai.Client(api_key=os.getenv("GEMINI_API_KEY"))
try:
for model in client.models.list():
if "flash" in model.name:
print(model.name)
except Exception as e:
print(e)