initial commit

This commit is contained in:
2026-01-25 11:27:46 +08:00
commit e57718a304
22 changed files with 49673 additions and 0 deletions

10
app/list_models.py Normal file
View File

@@ -0,0 +1,10 @@
import google.generativeai as genai
import os
from dotenv import load_dotenv
load_dotenv()
genai.configure(api_key=os.getenv("GEMINI_API_KEY"))
for m in genai.list_models():
if 'generateContent' in m.supported_generation_methods:
print(m.name)