Files
Lucas/check_models.py
Debian 24dbc7cd6a Initial commit — Serveur Lucas SmartEye
API réception alertes chute (SmartEye/YOLO), analyse IA (Gemini 2.5 Flash),
gestion alertes avec escalade (watchdog), notifications Firebase,
dashboard web, documentation MkDocs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-14 21:26:06 +01:00

14 lines
379 B
Python
Executable File

import google.generativeai as genai
import os
API_KEY = "AIzaSyC5wIc9nrhtbVesHqodil6V6-WIxkJFSHA"
genai.configure(api_key=API_KEY)
print("🔍 Recherche des modèles disponibles...")
try:
for m in genai.list_models():
if 'generateContent' in m.supported_generation_methods:
print(f"👉 {m.name}")
except Exception as e:
print(f"❌ Erreur : {e}")