a2a-source-edit: write agent.py
This commit is contained in:
3
agent.py
3
agent.py
@@ -31,7 +31,6 @@ from a2a_pack import (
|
||||
WorkspaceAccess,
|
||||
WorkspaceMode,
|
||||
)
|
||||
from a2a_pack.mail import InboundEmailPayload
|
||||
|
||||
|
||||
LEDGER_PATH = "outputs/support-refund-audit-ledger.json"
|
||||
@@ -281,7 +280,7 @@ class ReceivesSupportEmailChecks1919313(A2AAgent[ReceivesSupportEmailChecks19193
|
||||
async def receive_support_email(
|
||||
self,
|
||||
ctx: RunContext[NoAuth],
|
||||
email: InboundEmailPayload,
|
||||
email: dict[str, Any],
|
||||
) -> dict[str, str] | None:
|
||||
parsed = _extract_refund_request(email)
|
||||
if not parsed.get("stripe_payment_intent_id"):
|
||||
|
||||
Reference in New Issue
Block a user