Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!
Python
ux: Display day name in web UIs
Clémence Lesné23d5dcaf1c9b
diff --git a/public_website/list.html.jinja b/public_website/list.html.jinjaindex 835928d..7c2e12a 100644--- a/public_website/list.html.jinja+++ b/public_website/list.html.jinja@@ -29,9 +29,9 @@ History for {{ phone_number or 'all numbers' }}<div class="p-4 truncate col-span-2">📝 Short summary</div></div>{% for call in calls %}- <a href="/report/{{ call.call_id }}" title="Call from {{ call.initiate.phone_number }} the {{ call.created_at.astimezone(call.tz()).strftime('%d %b %Y, %H:%M (%Z)') }}" class="grid grid-cols-4 hover:bg-neutral-100/60 dark:hover:bg-neutral-800/60 {% if not loop.last %}border-b border-neutral-200/60 dark:border-neutral-700/60{% endif %}">+ <a href="/report/{{ call.call_id }}" title="Call from {{ call.initiate.phone_number }} the {{ call.created_at.astimezone(call.tz()).strftime('%a %d %b %Y, %H:%M (%Z)') }}" class="grid grid-cols-4 hover:bg-neutral-100/60 dark:hover:bg-neutral-800/60 {% if not loop.last %}border-b border-neutral-200/60 dark:border-neutral-700/60{% endif %}"><div class="p-4 truncate">{{ call.initiate.phone_number }}</div>- <div class="p-4 truncate">{{ call.created_at.astimezone(call.tz()).strftime('%d %b %Y, %H:%M (%Z)') }}</div>+ <div class="p-4 truncate">{{ call.created_at.astimezone(call.tz()).strftime('%a %d %b %Y, %H:%M (%Z)') }}</div><div class="col-span-2 p-4 truncate">{{ call.synthesis.short | lower }}</div></a>{% endfor %}diff --git a/public_website/single.html.jinja b/public_website/single.html.jinjaindex 0afb28e..d43c2be 100644--- a/public_website/single.html.jinja+++ b/public_website/single.html.jinja@@ -78,7 +78,7 @@ Claim ({{ call.initiate.phone_number }})</span></div><div class="text-neutral-600 dark:text-neutral-400">- {{ message.created_at.astimezone(call.tz()).strftime('%d %b %Y, %H:%M (%Z)') }}+ {{ message.created_at.astimezone(call.tz()).strftime('%a %d %b %Y, %H:%M (%Z)') }}</div></div>{% if message.content %}@@ -108,7 +108,7 @@ Claim ({{ call.initiate.phone_number }}){% for reminder in call.reminders | sort(attribute='due_date_time') %}<div><div class="text-xs">- {{ reminder.owner | title }}<span class="text-neutral-600 dark:text-neutral-400">, {{ reminder.due_date_time.astimezone(call.tz()).strftime('%d %b %Y, %H:%M (%Z)') }}</span>+ {{ reminder.owner | title }}<span class="text-neutral-600 dark:text-neutral-400">, {{ reminder.due_date_time.astimezone(call.tz()).strftime('%a %d %b %Y, %H:%M (%Z)') }}</span></div><p class="text-neutral-600 dark:text-neutral-400">{{ reminder.title | capitalize }}</p></div>@@ -185,7 +185,7 @@ Claim ({{ call.initiate.phone_number }})set details = [{'title': 'Date',- 'value': call.claim.incident_date_time.strftime('%d %b %Y, %H:%M (%Z)') if call.claim.incident_date_time else 'N/A'+ 'value': call.claim.incident_date_time.strftime('%a %d %b %Y, %H:%M (%Z)') if call.claim.incident_date_time else 'N/A'},{'title': 'Location',