Add Notification Backend Protocol
All checks were successful
CI / ci (pull_request) Successful in 18s

This commit is contained in:
2026-03-05 06:41:28 +00:00
parent ba6fde1b15
commit 2370d7de96
4 changed files with 30 additions and 82 deletions

View File

@@ -8,13 +8,13 @@ from typing import TYPE_CHECKING
if TYPE_CHECKING:
from google.adk.agents.readonly_context import ReadonlyContext
from va_agent.notifications import NotificationService
from va_agent.notifications import NotificationBackend
logger = logging.getLogger(__name__)
async def provide_dynamic_instruction(
notification_service: NotificationService,
notification_service: NotificationBackend,
ctx: ReadonlyContext | None = None,
) -> str:
"""Provide dynamic instructions based on pending notifications.