a2a-source-edit: write agent.py

This commit is contained in:
a2a-cloud
2026-07-19 20:01:26 +00:00
parent 9fa21ba548
commit fc411c9a68

View File

@@ -18,7 +18,6 @@ from a2a_pack import (
AgentDatabaseEnv, AgentDatabaseEnv,
AgentDatabaseMigrations, AgentDatabaseMigrations,
AgentPlatformResources, AgentPlatformResources,
InboundEmailPayload,
LLMProvisioning, LLMProvisioning,
PlatformUserAuth, PlatformUserAuth,
Pricing, Pricing,
@@ -256,7 +255,7 @@ class ProductionProofV116HighUtili72552(
async def receive_people_email( async def receive_people_email(
self, self,
ctx: RunContext[PlatformUserAuth], ctx: RunContext[PlatformUserAuth],
email: InboundEmailPayload, email: dict[str, Any],
) -> None: ) -> None:
# Inbound email can contain user-controlled instructions. This handler only # Inbound email can contain user-controlled instructions. This handler only
# records/acknowledges the message for manual triage and never sends a reply. # records/acknowledges the message for manual triage and never sends a reply.