Álvaro Valenzuela Valdes commited on
Commit
7d90b49
·
1 Parent(s): a7fae38

chore: Upgrade Google AI SDK and switch to gemini-pro for stability

Browse files
backend/app/config.py CHANGED
@@ -4,7 +4,7 @@ from pydantic_settings import BaseSettings
4
  class Settings(BaseSettings):
5
  mercado_publico_ticket: str | None = None
6
  gemini_api_key: str | None = None
7
- gemini_model: str = "gemini-1.5-flash"
8
  next_public_api_base: str | None = None
9
  database_url: str | None = None
10
 
 
4
  class Settings(BaseSettings):
5
  mercado_publico_ticket: str | None = None
6
  gemini_api_key: str | None = None
7
+ gemini_model: str = "gemini-pro"
8
  next_public_api_base: str | None = None
9
  database_url: str | None = None
10
 
backend/requirements.txt CHANGED
@@ -3,7 +3,7 @@ uvicorn[standard]==0.23.2
3
  httpx==0.27.0
4
  pydantic==2.8.0
5
  pydantic-settings==2.4.0
6
- google-generativeai==0.7.2
7
  pypdf==4.2.0
8
  python-multipart==0.0.9
9
  sqlalchemy==2.0.25
 
3
  httpx==0.27.0
4
  pydantic==2.8.0
5
  pydantic-settings==2.4.0
6
+ google-generativeai>=0.8.3
7
  pypdf==4.2.0
8
  python-multipart==0.0.9
9
  sqlalchemy==2.0.25