Auto-deploy: 2026-05-18 00:20:53

This commit is contained in:
Hamza-Ayed
2026-05-18 00:20:53 +03:00
parent f3b04c1c4c
commit 94d430b972
2 changed files with 3 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
// background.js — Service Worker
// Handles all Gemini API calls (avoids CORS issues from content scripts)
const GEMINI_MODEL = 'gemini-2.5-flash';
const GEMINI_MODEL = 'gemini-flash-lite-latest';
const GEMINI_URL = `https://generativelanguage.googleapis.com/v1beta/models/${GEMINI_MODEL}:generateContent`;
// ─── Message listener ────────────────────────────────────────────────────────

View File

@@ -48,8 +48,8 @@ if (empty($apiKey)) {
exit;
}
// gemini-2.5-flash is required for reliable structured JSON output (list_analysis)
$model = "gemini-2.5-flash";
// Standardized on gemini-flash-lite-latest due to quota limits
$model = "gemini-flash-lite-latest";
$geminiUrl = "https://generativelanguage.googleapis.com/v1beta/models/{$model}:generateContent?key=" . $apiKey;
// ==========================================