whatsapp fixes
This commit is contained in:
parent
ff01efe4bb
commit
248acba741
5 changed files with 425 additions and 38 deletions
|
|
@ -55,7 +55,13 @@ def _explorer_doc_for_template(template: AgentMessageTemplate) -> dict:
|
|||
"type": "string",
|
||||
"required": False,
|
||||
"description": "Report postfix; auto-generated when omitted",
|
||||
"example": "run-abc123",
|
||||
"example": "2026-10-03",
|
||||
},
|
||||
"report_url": {
|
||||
"type": "string",
|
||||
"required": False,
|
||||
"description": "Full hosted report URL for the WhatsApp button; auto-built when omitted",
|
||||
"example": "https://urmiai.com/reports/desi-clans-test/2026-10-03",
|
||||
},
|
||||
},
|
||||
"responses": {
|
||||
|
|
@ -66,9 +72,9 @@ def _explorer_doc_for_template(template: AgentMessageTemplate) -> dict:
|
|||
"template": template.slug,
|
||||
"to": "919149154337",
|
||||
"customer_name": "Suyash",
|
||||
"report_group": "acme-agent-runs",
|
||||
"report_id": "run-abc123",
|
||||
"report_url": f"{template.button_url_base or ''}acme-agent-runs/run-abc123",
|
||||
"report_group": "desi-clans-test",
|
||||
"report_id": "2026-10-03",
|
||||
"report_url": "https://urmiai.com/reports/desi-clans-test/2026-10-03",
|
||||
"wa_message_id": "wamid.HBg...",
|
||||
"dispatch_id": "00000000-0000-0000-0000-000000000001",
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue