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:
Debian
2026-03-14 21:26:06 +01:00
commit 24dbc7cd6a
64 changed files with 9677 additions and 0 deletions

13
check_models.py Executable file
View 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}")