a2a-source-edit: write agent.py
This commit is contained in:
4
agent.py
4
agent.py
@@ -623,6 +623,10 @@ class RevenueRecoveryAgent(A2AAgent[RevenueRecoveryAgentConfig, NoAuth]):
|
||||
audit_events=audit + [_audit(run_id, "campaign_pack_completed", {"files": 2})],
|
||||
)
|
||||
output.output_files = [
|
||||
await _persist_json(ctx, run_id, "leakage.json", analysis.model_dump(mode="json")),
|
||||
await _persist_json(ctx, run_id, "prioritized-accounts.json", prioritized.model_dump(mode="json")),
|
||||
await _persist_json(ctx, run_id, "recovery-plans.json", proposed.model_dump(mode="json")),
|
||||
await _persist_json(ctx, run_id, "compliance-report.json", validation.model_dump(mode="json")),
|
||||
await _persist_text(ctx, run_id, "campaign-pack.md", markdown, "text/markdown"),
|
||||
await _persist_json(ctx, run_id, "measurement-plan.json", measurement),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user