Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

fix: Messages are reversed, this is frustrating for some users

Clémence Lesné783dcd1c9e7d
diff --git a/public_website/report.html b/public_website/report.html
index 3cd22c5..98a4e7a 100644
--- a/public_website/report.html
+++ b/public_website/report.html
@@ -36,7 +36,7 @@
<!-- Agent and customer -->
<div class="overflow-hidden space-y-6">
- {% for message in call.messages | reverse %}
+ {% for message in call.messages %}
{% set name = bot_name if message.persona == 'assistant' else call.claim.policyholder_name %}
<div class="flex flex-row">
<div class="basis-6 relative self-stretch">