Update notification service

This commit is contained in:
MacRimi
2026-03-20 18:45:35 +01:00
parent b49be42f2d
commit 72d02010c7
6 changed files with 38 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
"""Google Gemini provider implementation.
Google's Gemini models offer a free tier and excellent quality/price ratio.
Gemini 1.5 Flash is particularly fast and cost-effective.
Gemini 2.0 Flash is fast and cost-effective with improved capabilities.
"""
from typing import Optional
from .base import AIProvider, AIProviderError
@@ -11,7 +11,7 @@ class GeminiProvider(AIProvider):
"""Google Gemini provider using the Generative Language API."""
NAME = "gemini"
DEFAULT_MODEL = "gemini-1.5-flash"
DEFAULT_MODEL = "gemini-2.0-flash"
REQUIRES_API_KEY = True
API_BASE = "https://generativelanguage.googleapis.com/v1beta/models"