Add files via upload

This commit is contained in:
FatihMakes authored and GitHub committed 2026-08-20 17:58:29 +03:00
1 parent b4d6ae9bc7
commit 363a3bdfbb
22 files changed
+1807 -365

No files matched your search

+2 -2
View File
@@ -65,7 +65,7 @@ def _parse_date(raw: str) -> str:
from google import genai as _genai
_client = _genai.Client(api_key=_get_api_key())
response = _client.models.generate_content(
model="gemini-2.5-flash-lite",
model="gemini-flash-lite-latest",
contents=(
f"Today is {today.strftime('%Y-%m-%d')}. "
f"Convert this date expression to YYYY-MM-DD: '{raw}'. "
@@ -169,7 +169,7 @@ def _parse_flights_with_gemini(
try:
response = _client.models.generate_content(
model="gemini-2.5-flash",
model="gemini-flash-latest",
contents=prompt,
config=types.GenerateContentConfig(
system_instruction=(