Files
agent/pyproject.toml
Anibal Angulo 9f4edcb04a
Some checks failed
CI / ci (pull_request) Failing after 1m40s
feat: switch notification backend from Redis to Firestore
- Refactor FirestoreNotificationBackend to use time-gated window
  (window_hours) instead of notified_by_agent status filtering;
  mark_as_notified is now a no-op (agent is awareness-only).
- Update agent.py to instantiate FirestoreNotificationBackend using the
  shared firestore_db client instead of RedisNotificationBackend.
- Remove redis_host/redis_port settings from config.py; add
  notifications_collection_path, max_to_notify, and window_hours.
- Move redis/json imports inside RedisNotificationBackend methods so
  redis is only required if that backend is explicitly instantiated.
- Add utility scripts for checking and registering notifications.
- Add google-cloud-firestore dependency to pyproject.toml.
2026-03-09 06:40:46 +00:00

48 lines
1.0 KiB
TOML

[project]
name = "va-agent"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
authors = [
{ name = "Anibal Angulo", email = "a8065384@banorte.com" },
{ name = "Jorge Juarez", email = "a8080816@banorte.com" }
]
requires-python = "~=3.12.0"
dependencies = [
"google-adk>=1.14.1",
"google-cloud-firestore>=2.23.0",
"pydantic-settings[yaml]>=2.13.1",
"google-auth>=2.34.0",
"google-genai>=1.64.0",
"redis>=5.0",
]
[build-system]
requires = ["uv_build>=0.8.3,<0.9.0"]
build-backend = "uv_build"
[dependency-groups]
dev = [
"pytest>=8.4.1",
"pytest-asyncio>=1.3.0",
"pytest-sugar>=1.1.1",
"ruff>=0.12.10",
"ty>=0.0.1a19",
]
[tool.ruff]
exclude = ["utils", "tests"]
[tool.ty.src]
exclude = ["utils", "tests"]
[tool.ruff.lint]
select = ['ALL']
ignore = [
'D203', # one-blank-line-before-class
'D213', # multi-line-summary-second-line
'COM812', # missing-trailing-comma
'ANN401', # dynamically-typed-any
'ERA001', # commented-out-code
]