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>
This commit is contained in:
13
check_models.py
Executable file
13
check_models.py
Executable file
@@ -0,0 +1,13 @@
|
||||
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}")
|
||||
Reference in New Issue
Block a user