Add Notification Backend Protocol
All checks were successful
CI / ci (pull_request) Successful in 18s
All checks were successful
CI / ci (pull_request) Successful in 18s
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user